Fix the arm64 L2_BLOCK_MASK definition

It was missing the top 16 bits.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Andrew Turner 2021-09-21 13:46:10 +00:00
parent 806ebc9eba
commit 5a619ca07a

View file

@ -125,7 +125,7 @@ typedef uint64_t pt_entry_t; /* page table entry */
#define L2_BLOCK L1_BLOCK
#define L2_TABLE L1_TABLE
#define L2_BLOCK_MASK UINT64_C(0xffffffe00000)
#define L2_BLOCK_MASK UINT64_C(0xffffffffffe00000)
/* Level 3 table, 4KiB per entry */
#define L3_SHIFT 12