From 51f7a6666027870c24432dcaa56cfc1b4741fdc6 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 30 Sep 2011 00:28:33 -0700 Subject: SE/FS: Build the devices in SE mode. --- src/dev/mips/malta.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dev/mips/malta.cc') diff --git a/src/dev/mips/malta.cc b/src/dev/mips/malta.cc index bcf970745..df949c2cf 100755 --- a/src/dev/mips/malta.cc +++ b/src/dev/mips/malta.cc @@ -39,6 +39,7 @@ #include "config/the_isa.hh" #include "cpu/intr_control.hh" +#include "debug/Malta.hh" #include "dev/mips/malta.hh" #include "dev/mips/malta_cchip.hh" #include "dev/mips/malta_io.hh" @@ -53,8 +54,10 @@ using namespace TheISA; Malta::Malta(const Params *p) : Platform(p), system(p->system) { +#if FULL_SYSTEM //XXX No platform pointer on the system object in SE mode. // set the back pointer from the system to myself system->platform = this; +#endif for (int i = 0; i < Malta::Max_CPUs; i++) intr_sum_type[i] = 0; -- cgit v1.2.3