diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-10-30 18:39:38 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-10-30 18:39:38 -0700 |
commit | 248033f31ea7198ab1339631cc198bb13935c2e8 (patch) | |
tree | b7ee90ef322e3f65351eb1c39518553b4691e750 /src/arch/mips/remote_gdb.cc | |
parent | 8009b53c41b4b8643bc335ce293c6ba305b70608 (diff) | |
download | gem5-248033f31ea7198ab1339631cc198bb13935c2e8.tar.xz |
SE/FS: Get rid of FULL_SYSTEM in MIPS.
Diffstat (limited to 'src/arch/mips/remote_gdb.cc')
-rw-r--r-- | src/arch/mips/remote_gdb.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/arch/mips/remote_gdb.cc b/src/arch/mips/remote_gdb.cc index 1fd157758..656cb8cbb 100644 --- a/src/arch/mips/remote_gdb.cc +++ b/src/arch/mips/remote_gdb.cc @@ -137,12 +137,12 @@ #include "arch/mips/remote_gdb.hh" #include "arch/mips/vtophys.hh" -#include "config/full_system.hh" #include "cpu/decode.hh" #include "cpu/thread_state.hh" #include "debug/GDBAcc.hh" #include "debug/GDBMisc.hh" #include "mem/page_table.hh" +#include "sim/full_system.hh" using namespace std; using namespace MipsISA; @@ -158,13 +158,13 @@ RemoteGDB::RemoteGDB(System *_system, ThreadContext *tc) bool RemoteGDB::acc(Addr va, size_t len) { -#if FULL_SYSTEM - panic("acc not implemented for MIPS FS!"); -#endif TlbEntry entry; //Check to make sure the first byte is mapped into the processes address //space. - return context->getProcessPtr()->pTable->lookup(va, entry); + if (FullSystem) + panic("acc not implemented for MIPS FS!"); + else + return context->getProcessPtr()->pTable->lookup(va, entry); } /* |