From 8ea5176b7f4eac09d152dd63d0ba07962be9c865 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Sat, 27 Sep 2008 21:03:46 -0700 Subject: arch: TheISA shouldn't really ever be used in the arch directory. We should always refer to the specific ISA in that arch directory. This is especially necessary if we're ever going to make it to the point where we actually have heterogeneous systems. --- src/arch/x86/process.cc | 6 +++--- src/arch/x86/remote_gdb.cc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/arch/x86') diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc index 76f0b5d04..b62efd3cd 100644 --- a/src/arch/x86/process.cc +++ b/src/arch/x86/process.cc @@ -105,8 +105,8 @@ using namespace X86ISA; M5_64_auxv_t::M5_64_auxv_t(int64_t type, int64_t val) { - a_type = TheISA::htog(type); - a_val = TheISA::htog(val); + a_type = X86ISA::htog(type); + a_val = X86ISA::htog(val); } X86LiveProcess::X86LiveProcess(LiveProcessParams * params, @@ -424,7 +424,7 @@ X86LiveProcess::argsInit(int intSize, int pageSize) // figure out argc uint64_t argc = argv.size(); - uint64_t guestArgc = TheISA::htog(argc); + uint64_t guestArgc = X86ISA::htog(argc); //Write out the sentry void * uint64_t sentry_NULL = 0; diff --git a/src/arch/x86/remote_gdb.cc b/src/arch/x86/remote_gdb.cc index 3a024e087..c416042c8 100644 --- a/src/arch/x86/remote_gdb.cc +++ b/src/arch/x86/remote_gdb.cc @@ -157,7 +157,7 @@ #include "cpu/thread_context.hh" using namespace std; -using namespace TheISA; +using namespace X86ISA; RemoteGDB::RemoteGDB(System *_system, ThreadContext *c) : BaseRemoteGDB(_system, c, NumGDBRegs) -- cgit v1.2.3