svn commit: r216193 - head/sys/powerpc/include

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sun Dec 5 01:17:53 UTC 2010


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


More information about the svn-src-all mailing list