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.
This commit is contained in:
@@ -55,7 +55,7 @@ class ThreadInfo
|
||||
|
||||
CopyOut(tc, &data, addr, sizeof(T));
|
||||
|
||||
data = TheISA::gtoh(data);
|
||||
data = AlphaISA::gtoh(data);
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -76,7 +76,7 @@ class ThreadInfo
|
||||
Addr sp;
|
||||
|
||||
if (!addr)
|
||||
addr = tc->readMiscRegNoEffect(TheISA::IPR_PALtemp23);
|
||||
addr = tc->readMiscRegNoEffect(AlphaISA::IPR_PALtemp23);
|
||||
|
||||
FunctionalPort *p = tc->getPhysPort();
|
||||
p->readBlob(addr, (uint8_t *)&sp, sizeof(Addr));
|
||||
|
||||
Reference in New Issue
Block a user