summaryrefslogtreecommitdiff
path: root/src/arch/mips/remote_gdb.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-10-30 18:39:38 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-10-30 18:39:38 -0700
commit248033f31ea7198ab1339631cc198bb13935c2e8 (patch)
treeb7ee90ef322e3f65351eb1c39518553b4691e750 /src/arch/mips/remote_gdb.cc
parent8009b53c41b4b8643bc335ce293c6ba305b70608 (diff)
downloadgem5-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.cc10
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);
}
/*