summaryrefslogtreecommitdiff
path: root/src/arch/mips/linux/threadinfo.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-09-27 21:03:46 -0700
committerNathan Binkert <nate@binkert.org>2008-09-27 21:03:46 -0700
commit8ea5176b7f4eac09d152dd63d0ba07962be9c865 (patch)
treec58a252c9dd0a1873b30caa6a4cb72aab770649f /src/arch/mips/linux/threadinfo.hh
parent0b30c345f17f928c99660d633147f24f4f0035bd (diff)
downloadgem5-8ea5176b7f4eac09d152dd63d0ba07962be9c865.tar.xz
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.
Diffstat (limited to 'src/arch/mips/linux/threadinfo.hh')
-rw-r--r--src/arch/mips/linux/threadinfo.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/mips/linux/threadinfo.hh b/src/arch/mips/linux/threadinfo.hh
index 25ee74dd3..b0d0cd811 100644
--- a/src/arch/mips/linux/threadinfo.hh
+++ b/src/arch/mips/linux/threadinfo.hh
@@ -55,7 +55,7 @@ class ThreadInfo
CopyOut(tc, &data, addr, sizeof(T));
- data = TheISA::gtoh(data);
+ data = MipsISA::gtoh(data);
return true;
}
@@ -77,7 +77,7 @@ class ThreadInfo
Addr sp;
if (!addr)
- addr = tc->readMiscRegNoEffect(0/*TheISA::IPR_PALtemp23*/);
+ addr = tc->readMiscRegNoEffect(0/*MipsISA::IPR_PALtemp23*/);
FunctionalPort *p = tc->getPhysPort();
p->readBlob(addr, (uint8_t *)&sp, sizeof(Addr));