summaryrefslogtreecommitdiff
path: root/src/dev/platform.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-02-01 00:02:21 -0800
committerGabe Black <gblack@eecs.umich.edu>2009-02-01 00:02:21 -0800
commit3ecc38cb8b882169fb64bf939f709326915f375e (patch)
tree08f8a5952311d17f15445f9e24b9f9c57fb054a3 /src/dev/platform.hh
parentbb7ad80bbe565800b09c38bdc02c12f827ec9240 (diff)
downloadgem5-3ecc38cb8b882169fb64bf939f709326915f375e.tar.xz
Devices: Add support for legacy fixed IO locations in BARs.
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);