dingusppc/devices/pcihost.h

15 lines
373 B
C
Raw Normal View History

#ifndef PCI_HOST_H
#define PCI_HOST_H
#include <cinttypes>
2020-05-12 18:55:45 +00:00
class PCIDevice; // forward declaration to prevent errors
class PCIHost {
public:
2020-05-12 18:55:45 +00:00
virtual bool pci_register_device(int dev_num, PCIDevice* dev_instance) = 0;
virtual bool pci_register_mmio_region(uint32_t start_addr, uint32_t size, PCIDevice* obj) = 0;
};
#endif /* PCI_HOST_H */