Author: nwhitehorn
Date: Sun Dec  5 01:17:53 2010
New Revision: 216193
URL: http://svn.freebsd.org/changeset/base/216193

Log:
  Switch which software-reserved bit is used to designate a locked PTE
  to correspond to the definition used by the PAPR spec so that its PTE
  insertion algorithm will properly respect it.

Modified:
  head/sys/powerpc/include/pte.h

Modified: head/sys/powerpc/include/pte.h
==============================================================================
--- head/sys/powerpc/include/pte.h      Sun Dec  5 01:09:48 2010        
(r216192)
+++ head/sys/powerpc/include/pte.h      Sun Dec  5 01:17:53 2010        
(r216193)
@@ -95,8 +95,8 @@ struct lpteg {
 /* High quadword: */
 #define LPTE_VSID_SHIFT                12
 #define LPTE_API               0x0000000000000F80ULL
-#define LPTE_WIRED             0x0000000000000010ULL
-#define LPTE_LOCKED            0x0000000000000008ULL
+#define LPTE_LOCKED            0x0000000000000040ULL
+#define LPTE_WIRED             0x0000000000000008ULL
 #define LPTE_BIG               0x0000000000000004ULL   /* 4kb/16Mb page */
 #define LPTE_HID               0x0000000000000002ULL
 #define LPTE_VALID             0x0000000000000001ULL
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to