Set hpstate to be what I'm assuming Legion is.
authorGabe Black <gblack@eecs.umich.edu>
Tue, 14 Nov 2006 06:30:34 +0000 (01:30 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Tue, 14 Nov 2006 06:30:34 +0000 (01:30 -0500)
--HG--
extra : convert_revision : 0be66513cb0cff07c0c2b50c97c1ea74d52b0dc9

src/arch/sparc/miscregfile.cc

index d52e3983fe2f041a70bd1c13c9b64fd39daed48e..d9d7f44110b2a836041c19189bdb1eb22c0ca2de 100644 (file)
@@ -88,7 +88,8 @@ void MiscRegFile::reset()
     otherwin = 0;
     wstate = 0;
     gl = 0;
-    hpstate = 0;
+    //In a T1, bit 11 is apparently always 1
+    hpstate = (1 << 11);
     memset(htstate, 0, sizeof(htstate));
     hintp = 0;
     htba = 0;