summaryrefslogtreecommitdiff
path: root/src/dev/platform.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/platform.hh')
-rw-r--r--src/dev/platform.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dev/platform.hh b/src/dev/platform.hh
index fc556787d..5f6f1df81 100644
--- a/src/dev/platform.hh
+++ b/src/dev/platform.hh
@@ -69,7 +69,9 @@ class Platform : public SimObject
virtual void postPciInt(int line);
virtual void clearPciInt(int line);
virtual Addr pciToDma(Addr pciAddr) const;
- virtual Addr calcConfigAddr(int bus, int dev, int func) = 0;
+ virtual Addr calcPciConfigAddr(int bus, int dev, int func) = 0;
+ virtual Addr calcPciIOAddr(Addr addr) = 0;
+ virtual Addr calcPciMemAddr(Addr addr) = 0;
virtual void registerPciDevice(uint8_t bus, uint8_t dev, uint8_t func,
uint8_t intr);