Author: markj
Date: Tue Jul 16 15:38:01 2019
New Revision: 350037
URL: https://svnweb.freebsd.org/changeset/base/350037

Log:
  Fix the arm64 page table entry attribute mask.
  
  It did not include the DBM or contiguous bits.
  
  Reported by:  andrew
  Reviewed by:  andrew
  MFC after:    3 days
  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        Tue Jul 16 15:37:38 2019        
(r350036)
+++ head/sys/arm64/include/pte.h        Tue Jul 16 15:38:01 2019        
(r350037)
@@ -39,7 +39,7 @@ typedef       uint64_t        pt_entry_t;             /* page 
table entry */
 #endif
 
 /* Block and Page attributes */
-#define        ATTR_MASK_H     UINT64_C(0xfff0000000000000)
+#define        ATTR_MASK_H     UINT64_C(0xfffc000000000000)
 #define        ATTR_MASK_L     UINT64_C(0x0000000000000fff)
 #define        ATTR_MASK       (ATTR_MASK_H | ATTR_MASK_L)
 /* Bits 58:55 are reserved for software */
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to