sparc: Use big endian packet accessors.
[gem5.git] / src / dev / platform.cc
index ed021e3b673e414bd1bb04e5e1648b56a56c5f29..fae1b13a1169278ec098cc403471f7796d62721d 100644 (file)
  */
 
 #include "dev/platform.hh"
-#include "sim/builder.hh"
+
+#include "base/logging.hh"
+#include "config/the_isa.hh"
 #include "sim/sim_exit.hh"
 
 using namespace std;
-using namespace TheISA;
 
-Platform::Platform(const string &name, IntrControl *intctrl)
-    : SimObject(name), intrctrl(intctrl)
+Platform::Platform(const Params *p)
+    : SimObject(p), intrctrl(p->intrctrl)
 {
 }
 
@@ -56,12 +57,3 @@ Platform::clearPciInt(int line)
 {
    panic("No PCI interrupt support in platform.");
 }
-
-Addr
-Platform::pciToDma(Addr pciAddr) const
-{
-   panic("No PCI dma support in platform.");
-}
-
-DEFINE_SIM_OBJECT_CLASS_NAME("Platform", Platform)
-