Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2015 12:56:10 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285314 - head/sys/arm64/include
Message-ID:  <201507091256.t69CuAcJ034326@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Thu Jul  9 12:56:09 2015
New Revision: 285314
URL: https://svnweb.freebsd.org/changeset/base/285314

Log:
  Add the definition of the shareable bits in the pagetables
  
  Obtained from:	ABT Systems Ltd
  Sponsored by:	The FreeBSD Foundation

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

Modified: head/sys/arm64/include/pte.h
==============================================================================
--- head/sys/arm64/include/pte.h	Thu Jul  9 12:51:50 2015	(r285313)
+++ head/sys/arm64/include/pte.h	Thu Jul  9 12:56:09 2015	(r285314)
@@ -49,6 +49,10 @@ typedef	uint64_t	pt_entry_t;		/* page ta
 #define	ATTR_nG		(1 << 11)
 #define	ATTR_AF		(1 << 10)
 #define	ATTR_SH(x)	((x) << 8)
+#define	 ATTR_SH_MASK	ATTR_SH(3)
+#define	 ATTR_SH_NS	0		/* Non-shareable */
+#define	 ATTR_SH_OS	2		/* Outer-shareable */
+#define	 ATTR_SH_IS	3		/* Inner-shareable */
 #define	ATTR_AP_RW_BIT	(1 << 7)
 #define	ATTR_AP(x)	((x) << 6)
 #define	 ATTR_AP_MASK	ATTR_AP(3)



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