summaryrefslogblamecommitdiffstatshomepage
path: root/src/devices/machine/pci-apic.h
blob: b39a853ff71dee53155143297475ede452f7610f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                     









                                                                                     
                                                                                                   

          

                                             




                              
// 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, std::string tag, device_t *owner, UINT32 clock);

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

extern const device_type APIC;

#endif