summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pci-apic.h
blob: 85b8de34b4dc16d45479ecb2dfb1bcc1442251b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// license:BSD-3-Clause
// copyright-holders:Olivier Galibert
#ifndef PCI_APIC_H
#define PCI_APIC_H

#include "pci.h"

#define MCFG_APIC_ADD(_tag, _main_id, _revision, _subdevice_id) \
	MCFG_PCI_DEVICE_ADD(_tag, APIC, _main_id, _revision, 0x0c0320, _subdevice_id)

class apic_device : public pci_device {
public:
	apic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);

protected:
	virtual void device_start();
	virtual void device_reset();
};

extern const device_type APIC;

#endif