summaryrefslogtreecommitdiff
path: root/arch/alpha/ev5.hh
diff options
context:
space:
mode:
authorAndrew Schultz <alschult@umich.edu>2004-02-19 16:30:06 -0500
committerAndrew Schultz <alschult@umich.edu>2004-02-19 16:30:06 -0500
commite3fb3d1ad01aa08ab6631c3f77e6f105d5a736a6 (patch)
tree67ff2c8fa3eb42626bf3501f36d8003c27468ee8 /arch/alpha/ev5.hh
parent59a6e9d705dd6d143534a42822634f67046ff16c (diff)
downloadgem5-e3fb3d1ad01aa08ab6631c3f77e6f105d5a736a6.tar.xz
Misspeculation fix and (more importantly) change to allow for the ev6 style
physical addressing. This has the uncacheable bit as bit 40 as opposed to bit 39. Additionally, we now support (at least superficially) a 44-bit physical address. To deal with superpage access in this scheme, any super page access with either bit 39 or 40 set is sign extended. --HG-- extra : convert_revision : 05ddbcb9a6a92481109a63b261743881953620ab
Diffstat (limited to 'arch/alpha/ev5.hh')
-rw-r--r--arch/alpha/ev5.hh7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/alpha/ev5.hh b/arch/alpha/ev5.hh
index aa3d7e226..bd4115704 100644
--- a/arch/alpha/ev5.hh
+++ b/arch/alpha/ev5.hh
@@ -57,9 +57,10 @@
#define VA_SPACE(X) (((X) >> 41) & 0x3)
#define VA_POFS(X) ((X) & 0x1fff)
-#define PA_IMPL_MASK ULL(0xffffffffff)
-#define PA_UNCACHED_BIT ULL(0x8000000000)
-#define PA_IPR_SPACE(X) ((X) >= ULL(0xFFFFF00000))
+#define PA_IMPL_MASK ULL(0xfffffffffff) // for Tsunami
+#define PA_UNCACHED_BIT_39 ULL(0x8000000000)
+#define PA_UNCACHED_BIT_40 ULL(0x10000000000)
+#define PA_IPR_SPACE(X) ((X) >= ULL(0xFFFFFF00000))
#define PA_PFN2PA(X) ((X) << 13)