ARM: Make GIC function that should only be called by GIC protected.
[gem5.git] / src / dev / platform.hh
index fc556787dc8d5f9ca0adcb213c51defa45f57857..a3f2398657d0654469053cde39c9cd1ed913edc3 100644 (file)
@@ -40,9 +40,8 @@
 #include <bitset>
 #include <set>
 
-#include "sim/sim_object.hh"
-#include "arch/isa_traits.hh"
 #include "params/Platform.hh"
+#include "sim/sim_object.hh"
 
 class PciConfigAll;
 class IntrControl;
@@ -69,7 +68,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);