From be805958348109d200813a02739d0944351ffceb Mon Sep 17 00:00:00 2001 From: joevt Date: Mon, 18 Sep 2023 16:50:06 -0700 Subject: [PATCH] Remove obsolete pci config type 1 methods. pci_find_device is the method used to pass pci config type 1 methods to child PCI devices. --- devices/common/pci/pcihost.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/devices/common/pci/pcihost.h b/devices/common/pci/pcihost.h index a535be8..56df770 100644 --- a/devices/common/pci/pcihost.h +++ b/devices/common/pci/pcihost.h @@ -77,12 +77,6 @@ public: virtual PCIBase *pci_find_device(uint8_t bus_num, uint8_t dev_num, uint8_t fun_num); - virtual uint32_t pci_t1_read(uint8_t dev, uint32_t fun, uint32_t reg, AccessDetails &details) { - return 0; - }; - - virtual void pci_t1_write(uint8_t dev, uint32_t fun, uint32_t reg, uint32_t value, - AccessDetails &details) {}; protected: std::unordered_map dev_map;