mirror of
https://github.com/ipxe/ipxe
synced 2026-01-22 20:19:08 +03:00
[riscv] Do not set executable bit in early UART page mapping
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -879,7 +879,7 @@ enable_paging_64_loop:
|
||||
#ifdef EARLY_UART_REG_BASE
|
||||
li t0, ( EARLY_UART_REG_BASE & ~( ( 1 << VPN1_LSB ) - 1 ) )
|
||||
srli t0, t0, PTE_PPN_SHIFT
|
||||
ori t0, t0, PTE_LEAF
|
||||
ori t0, t0, ( PTE_LEAF & ~PTE_X )
|
||||
STOREN t0, -PTE_SIZE(a3)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user