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/sparc | |
parent | 35e20c7470a16cbc1187553375269800b980eb78 (diff) | |
download | gem5-51f7a6666027870c24432dcaa56cfc1b4741fdc6.tar.xz |
SE/FS: Build the devices in SE mode.
Diffstat (limited to 'src/dev/sparc')
-rw-r--r-- | src/dev/sparc/SConscript | 2 | ||||
-rw-r--r-- | src/dev/sparc/iob.cc | 1 | ||||
-rw-r--r-- | src/dev/sparc/t1000.cc | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/src/dev/sparc/SConscript b/src/dev/sparc/SConscript index 772aa4864..e82e5ee05 100644 --- a/src/dev/sparc/SConscript +++ b/src/dev/sparc/SConscript @@ -31,7 +31,7 @@ Import('*') -if env['FULL_SYSTEM'] and env['TARGET_ISA'] == 'sparc': +if env['TARGET_ISA'] == 'sparc': SimObject('T1000.py') Source('dtod.cc') diff --git a/src/dev/sparc/iob.cc b/src/dev/sparc/iob.cc index 748a08c81..cbb0bbde0 100644 --- a/src/dev/sparc/iob.cc +++ b/src/dev/sparc/iob.cc @@ -42,6 +42,7 @@ #include "base/bitfield.hh" #include "base/trace.hh" #include "cpu/intr_control.hh" +#include "cpu/thread_context.hh" #include "debug/Iob.hh" #include "dev/sparc/iob.hh" #include "dev/platform.hh" diff --git a/src/dev/sparc/t1000.cc b/src/dev/sparc/t1000.cc index c00d942c9..2c3d3c071 100644 --- a/src/dev/sparc/t1000.cc +++ b/src/dev/sparc/t1000.cc @@ -49,8 +49,10 @@ using namespace TheISA; T1000::T1000(const Params *p) : Platform(p), system(p->system) { +#if FULL_SYSTEM //XXX No platform pointer on system objects in SE mode. // set the back pointer from the system to myself system->platform = this; +#endif } Tick |