Alpha: Force all the IPRs to an initial, determinstic value when cleared.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 11 Oct 2010 03:37:50 +0000 (20:37 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 11 Oct 2010 03:37:50 +0000 (20:37 -0700)
src/arch/alpha/isa.hh

index 574b5084191e68a3d77bf58aeded552caa2f4edc..01666c7833c42285628629ece635698932492114 100644 (file)
@@ -81,6 +81,7 @@ namespace AlphaISA
             lock_flag = 0;
             lock_addr = 0;
             intr_flag = 0;
+            memset(ipr, 0, sizeof(ipr));
         }
 
         void serialize(EventManager *em, std::ostream &os);