From 426b08bcd3a2bbb8af3b52c30b1a85bff6c1682f Mon Sep 17 00:00:00 2001 From: Ruslan Bukin Date: Fri, 4 Nov 2016 13:07:54 +0000 Subject: [PATCH] System Binary Interface (SBI) page was moved in latest version of Berkeley Boot Loader (BBL) due to code size increase. We will need to dehardcode this somehow. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 --- sys/riscv/riscv/locore.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/riscv/riscv/locore.S b/sys/riscv/riscv/locore.S index 2b36e2e8aeb8..5edbf7887885 100644 --- a/sys/riscv/riscv/locore.S +++ b/sys/riscv/riscv/locore.S @@ -137,7 +137,7 @@ _start: /* Create an L3 page for SBI */ la s1, pagetable_l3_sbi - li s2, 0x80009000 + li s2, 0x8000b000 srli s2, s2, PAGE_SHIFT li a5, 511 li t4, PTE_V | PTE_RX | PTE_W