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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to