atually set all 64 bits of the retun value to 0

--HG--
extra : convert_revision : 77bfdf07a49d41a2392f429fdc632c1461ac504c
This commit is contained in:
Ali Saidi 2007-01-20 23:10:43 -05:00
parent 95e4a51c6c
commit 57d11578cf

View file

@ -895,7 +895,7 @@ DTB::doMmuRegRead(ThreadContext *tc, Packet *pkt)
break; break;
case ASI_SPARC_ERROR_STATUS_REG: case ASI_SPARC_ERROR_STATUS_REG:
warn("returning 0 for SPARC ERROR regsiter read\n"); warn("returning 0 for SPARC ERROR regsiter read\n");
pkt->set(ULL(0)); pkt->set((uint64_t)0);
break; break;
case ASI_HYP_SCRATCHPAD: case ASI_HYP_SCRATCHPAD:
case ASI_SCRATCHPAD: case ASI_SCRATCHPAD: