Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 2010 01:17:53 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216193 - head/sys/powerpc/include
Message-ID:  <201012050117.oB51HrD0055669@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012050117.oB51HrD0055669>