diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-02-01 00:02:21 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-02-01 00:02:21 -0800 |
commit | 3ecc38cb8b882169fb64bf939f709326915f375e (patch) | |
tree | 08f8a5952311d17f15445f9e24b9f9c57fb054a3 /src/dev/platform.hh | |
parent | bb7ad80bbe565800b09c38bdc02c12f827ec9240 (diff) | |
download | gem5-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.hh | 4 |
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); |