diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-09-30 00:28:33 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-09-30 00:28:33 -0700 |
commit | 51f7a6666027870c24432dcaa56cfc1b4741fdc6 (patch) | |
tree | 6dd74cdab55616bae7c974bc6c4fc39e60c9808a /src/dev/mips/malta.cc | |
parent | 35e20c7470a16cbc1187553375269800b980eb78 (diff) | |
download | gem5-51f7a6666027870c24432dcaa56cfc1b4741fdc6.tar.xz |
SE/FS: Build the devices in SE mode.
Diffstat (limited to 'src/dev/mips/malta.cc')
-rwxr-xr-x | src/dev/mips/malta.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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; |