mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-11-18 22:05:51 +00:00
15 lines
373 B
C++
15 lines
373 B
C++
#ifndef PCI_HOST_H
|
|
#define PCI_HOST_H
|
|
|
|
#include <cinttypes>
|
|
|
|
class PCIDevice; // forward declaration to prevent errors
|
|
|
|
class PCIHost {
|
|
public:
|
|
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 */
|