X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fdev%2Fplatform.cc;h=8c7706b4825dd06a6704423adfad08486fc584cf;hb=9d8fec0d90c2121a092c04da74e3306069ab5270;hp=ed021e3b673e414bd1bb04e5e1648b56a56c5f29;hpb=d2d581cf01d07f6a22f02f471d23e3d31919c695;p=gem5.git diff --git a/src/dev/platform.cc b/src/dev/platform.cc index ed021e3b6..8c7706b48 100644 --- a/src/dev/platform.cc +++ b/src/dev/platform.cc @@ -29,15 +29,15 @@ * Nathan Binkert */ +#include "base/misc.hh" +#include "config/the_isa.hh" #include "dev/platform.hh" -#include "sim/builder.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 +56,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) -