summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-01-20 23:10:43 -0500
committerAli Saidi <saidi@eecs.umich.edu>2007-01-20 23:10:43 -0500
commit57d11578cf424f3e1c27d27d63badcdf7d52ba9d (patch)
tree7536a2aa3b2781f3c6343e1e272b5504464f423c /src/arch
parent95e4a51c6cf89c5269c758d40dd7952d43d2a3a7 (diff)
downloadgem5-57d11578cf424f3e1c27d27d63badcdf7d52ba9d.tar.xz
atually set all 64 bits of the retun value to 0
--HG-- extra : convert_revision : 77bfdf07a49d41a2392f429fdc632c1461ac504c
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/sparc/tlb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/sparc/tlb.cc b/src/arch/sparc/tlb.cc
index 20a21cf64..460a9c640 100644
--- a/src/arch/sparc/tlb.cc
+++ b/src/arch/sparc/tlb.cc
@@ -895,7 +895,7 @@ DTB::doMmuRegRead(ThreadContext *tc, Packet *pkt)
break;
case ASI_SPARC_ERROR_STATUS_REG:
warn("returning 0 for SPARC ERROR regsiter read\n");
- pkt->set(ULL(0));
+ pkt->set((uint64_t)0);
break;
case ASI_HYP_SCRATCHPAD:
case ASI_SCRATCHPAD: