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
This commit is contained in:
Mark Johnston 2019-07-16 15:38:01 +00:00
parent 9da9cb48e9
commit 32e09b04ce
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350037

View File

@ -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 */