changeset 222:34c1f81105e9

Fix MMU TLB constant for 8MB pages
author gthomas
date Thu, 20 Jun 2002 23:10:07 +0000
parents 6a3479d240be
children dbca035cc56d
files packages/hal/powerpc/mpc8xx/current/ChangeLog packages/hal/powerpc/mpc8xx/current/include/var_regs.h
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/powerpc/mpc8xx/current/ChangeLog
+++ b/packages/hal/powerpc/mpc8xx/current/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-20  Gary Thomas  <gary@chez-thomas.org>
+
+	* include/var_regs.h (MI_RPN_LPS): Fix define.
+
 2002-05-03  Gary Thomas  <gthomas@redhat.com>
 
 	* tests/intr0.c: Fiddle to make this test run on all current MPC8xx
--- a/packages/hal/powerpc/mpc8xx/current/include/var_regs.h
+++ b/packages/hal/powerpc/mpc8xx/current/include/var_regs.h
@@ -155,7 +155,7 @@
 
 #define MI_RPN_RPNMASK  0xfffff000      // real page no mask
 #define MI_RPN_PPRWRW   0x000008f0      // page protection (rw/rw, page valid)
-#define MI_RPN_LPS      0x00000008      // large page size
+#define MI_RPN_LPS      0x0000000C      // large page size
 #define MI_RPN_SH       0x00000004      // shared page (1 = no ASID cmp)
 #define MI_RPN_CI       0x00000002      // cache inhibited
 #define MI_RPN_V        0x00000001      // entry valid