svn commit: r269330 - projects/arm64/sys/arm64/include

Andrew Turner andrew at FreeBSD.org
Thu Jul 31 13:00:43 UTC 2014


Author: andrew
Date: Thu Jul 31 13:00:42 2014
New Revision: 269330
URL: http://svnweb.freebsd.org/changeset/base/269330

Log:
  Fix the location of the attribute index field in the lower attributes.

Modified:
  projects/arm64/sys/arm64/include/pte.h

Modified: projects/arm64/sys/arm64/include/pte.h
==============================================================================
--- projects/arm64/sys/arm64/include/pte.h	Thu Jul 31 12:58:38 2014	(r269329)
+++ projects/arm64/sys/arm64/include/pte.h	Thu Jul 31 13:00:42 2014	(r269330)
@@ -56,7 +56,7 @@ typedef	uint64_t	pt_entry_t;		/* page ta
 #define	 ATTR_AP_RW	(1 << 1)
 #define	 ATTR_AP_USER	(1 << 0)
 #define	ATTR_NS		(1 << 5)
-#define	ATTR_IDX(x)	((x) << 3)
+#define	ATTR_IDX(x)	((x) << 2)
 
 #define	ATTR_DESCR_MASK	3
 


More information about the svn-src-projects mailing list