Remove L2_BLOCK_MASK from arm64
It's unneeded as it was just used to align KERNBASE to a level 2 block start address. KERNBASE was already aligned correctly. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
863f3220d0
commit
6e1f7b9b38
@ -455,7 +455,7 @@ common:
|
||||
/* Create the kernel space L2 table */
|
||||
mov x6, x26
|
||||
mov x7, #(ATTR_S1_IDX(VM_MEMATTR_WRITE_BACK))
|
||||
mov x8, #(KERNBASE & L2_BLOCK_MASK)
|
||||
mov x8, #(KERNBASE)
|
||||
mov x9, x28
|
||||
bl build_l2_block_pagetable
|
||||
|
||||
|
@ -134,8 +134,6 @@ 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(0xffffffffffe00000)
|
||||
|
||||
/* Level 3 table, 4KiB per entry */
|
||||
#define L3_SHIFT 12
|
||||
#define L3_SIZE (1 << L3_SHIFT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user