atually set all 64 bits of the retun value to 0
authorAli Saidi <saidi@eecs.umich.edu>
Sun, 21 Jan 2007 04:10:43 +0000 (23:10 -0500)
committerAli Saidi <saidi@eecs.umich.edu>
Sun, 21 Jan 2007 04:10:43 +0000 (23:10 -0500)
--HG--
extra : convert_revision : 77bfdf07a49d41a2392f429fdc632c1461ac504c

src/arch/sparc/tlb.cc

index 20a21cf6492acdf4c8d1a3645a3ffc87575045d8..460a9c640c17a588c6ca4f488f12afc97f108634 100644 (file)
@@ -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: