diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-09-30 00:27:16 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-09-30 00:27:16 -0700 |
commit | 35e20c7470a16cbc1187553375269800b980eb78 (patch) | |
tree | 7f2d469e98517c813f14e896e673f966f33b5fb5 /src/arch/sparc | |
parent | 4fcf8e9959e281259a4e9e29fbd34e67fa6072dc (diff) | |
download | gem5-35e20c7470a16cbc1187553375269800b980eb78.tar.xz |
SE/FS: Use the new FullSystem constant where possible.
Diffstat (limited to 'src/arch/sparc')
-rw-r--r-- | src/arch/sparc/isa/base.isa | 2 | ||||
-rw-r--r-- | src/arch/sparc/isa/includes.isa | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/sparc/isa/base.isa b/src/arch/sparc/isa/base.isa index a42c96ab1..d38df1c25 100644 --- a/src/arch/sparc/isa/base.isa +++ b/src/arch/sparc/isa/base.isa @@ -566,7 +566,7 @@ output exec {{ static inline Fault checkFpEnableFault(%(CPU_exec_context)s *xc) { - if (FULL_SYSTEM) { + if (FullSystem) { if (xc->readMiscReg(MISCREG_PSTATE) & PSTATE::pef && xc->readMiscReg(MISCREG_FPRS) & 0x4) { return NoFault; diff --git a/src/arch/sparc/isa/includes.isa b/src/arch/sparc/isa/includes.isa index 0c49cee16..541254d51 100644 --- a/src/arch/sparc/isa/includes.isa +++ b/src/arch/sparc/isa/includes.isa @@ -74,6 +74,7 @@ output exec {{ #include "debug/Sparc.hh" #include "mem/packet.hh" #include "mem/packet_access.hh" +#include "sim/full_system.hh" #include "sim/pseudo_inst.hh" #include "sim/sim_exit.hh" |