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
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34271

Details

Provenance
markjAuthored on Mar 1 2022, 2:03 PM
Reviewer
alc
Differential Revision
D34271: riscv: Use generic CSR macros for writing SATP
Parents
rG82f4e0d0f064: riscv: Rename struct pmap's pm_l1 field to pm_top
Branches
Unknown
Tags
Unknown