mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
21 lines
459 B
C++
21 lines
459 B
C++
#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
|