summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/pci-apic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/pci-apic.h')
-rw-r--r--src/emu/machine/pci-apic.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/emu/machine/pci-apic.h b/src/emu/machine/pci-apic.h
new file mode 100644
index 00000000000..30e4f900185
--- /dev/null
+++ b/src/emu/machine/pci-apic.h
@@ -0,0 +1,20 @@
+#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