diff options
author | Andrew Waterman <andrew@sifive.com> | 2017-02-15 15:20:06 -0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2017-02-15 15:26:04 -0800 |
commit | 4678e84c040531a48eff2108fd9212660bf527ae (patch) | |
tree | 293343a64c9017bf71add2dfe657a49c18c9cfd7 /bbl | |
parent | 6667bc4c42fd9968527644e32841757234285efd (diff) | |
download | riscv-pk-4678e84c040531a48eff2108fd9212660bf527ae.zip riscv-pk-4678e84c040531a48eff2108fd9212660bf527ae.tar.gz riscv-pk-4678e84c040531a48eff2108fd9212660bf527ae.tar.bz2 |
Incorporate sptbr/sfence.vma changes
Diffstat (limited to 'bbl')
-rw-r--r-- | bbl/bbl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ static void supervisor_vm_init() mb(); root_page_table = root_pt; - write_csr(sptbr, (uintptr_t)root_pt >> RISCV_PGSHIFT); + write_csr(sptbr, ((uintptr_t)root_pt >> RISCV_PGSHIFT) | SPTBR_MODE); } void boot_loader() |