HomeFreeBSD

riscv: Use generic CSR macros for writing SATP

Description

riscv: Use generic CSR macros for writing SATP

Instead of having the one-off load_satp(), just use csr_write(). No
functional change intended.

Reviewed by: alc, jhb
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 2e956c30cab6a36fee9a3d5159c3903406e3e5e7)

Details

Provenance
markjAuthored on Mar 1 2022, 2:03 PM
Parents
rG7414b4f4b47c: riscv: Rename struct pmap's pm_l1 field to pm_top
Branches
Unknown
Tags
Unknown