SPARC: Fix 32 bit register window flushing endian conversion.
--HG-- extra : convert_revision : be91d6fecb44a85e983343704a098b456948af8a
This commit is contained in:
parent
fa5e3b47c8
commit
38e804f7cd
|
@ -453,7 +453,7 @@ void Sparc32LiveProcess::flushWindows(ThreadContext *tc)
|
|||
//Do the stores
|
||||
IntReg sp = tc->readIntReg(StackPointerReg);
|
||||
for (int index = 16; index < 32; index++) {
|
||||
IntReg regVal = tc->readIntReg(index);
|
||||
uint32_t regVal = tc->readIntReg(index);
|
||||
regVal = htog(regVal);
|
||||
if (!tc->getMemPort()->tryWriteBlob(
|
||||
sp + (index - 16) * 4, (uint8_t *)®Val, 4)) {
|
||||
|
|
Loading…
Reference in a new issue