projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9005f3
)
make hver match legion
author
Ali Saidi
<saidi@eecs.umich.edu>
Mon, 12 Feb 2007 18:58:03 +0000
(13:58 -0500)
committer
Ali Saidi
<saidi@eecs.umich.edu>
Mon, 12 Feb 2007 18:58:03 +0000
(13:58 -0500)
--HG--
extra : convert_revision :
5bfe4b943ca5b3e30a7097a46cab4f93dadd714f
src/arch/sparc/miscregfile.cc
patch
|
blob
|
history
diff --git
a/src/arch/sparc/miscregfile.cc
b/src/arch/sparc/miscregfile.cc
index 8b612e8b4407665c570141b3fe3aaa6b8db1935c..9a69d337459ac03b751315d0a82ebed2e7557486 100644
(file)
--- a/
src/arch/sparc/miscregfile.cc
+++ b/
src/arch/sparc/miscregfile.cc
@@
-224,7
+224,13
@@
MiscReg MiscRegFile::readReg(int miscReg)
case MISCREG_HTBA:
return htba;
case MISCREG_HVER:
- return NWindows | MaxTL << 8 | MaxGL << 16;
+ // XXX set to match Legion
+ return ULL(0x3e) << 48 |
+ ULL(0x23) << 32 |
+ ULL(0x20) << 24 |
+ //MaxGL << 16 | XXX For some reason legion doesn't set GL
+ MaxTL << 8 |
+ (NWindows -1) << 0;
case MISCREG_STRAND_STS_REG:
return strandStatusReg;
case MISCREG_HSTICK_CMPR: