summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-02-12 13:58:03 -0500
committerAli Saidi <saidi@eecs.umich.edu>2007-02-12 13:58:03 -0500
commit49a9378718587bf120495aaf3087fcd2c6b87f9e (patch)
tree77a6debc1712ca78f2cc6f1316366973263d6b20 /src
parentb9005f35621c564fb70b60223352732eb9cde955 (diff)
downloadgem5-49a9378718587bf120495aaf3087fcd2c6b87f9e.tar.xz
make hver match legion
--HG-- extra : convert_revision : 5bfe4b943ca5b3e30a7097a46cab4f93dadd714f
Diffstat (limited to 'src')
-rw-r--r--src/arch/sparc/miscregfile.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/arch/sparc/miscregfile.cc b/src/arch/sparc/miscregfile.cc
index 8b612e8b4..9a69d3374 100644
--- 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: