HomeFreeBSD

riscv: add an assert to pmap_remove_pages()

Description

riscv: add an assert to pmap_remove_pages()

Similar checks exist for both arm64 and amd64, but note that for amd64
it is a bare panic().

Reviewed by: markj
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36564

Details

Provenance
mhorneAuthored on Aug 25 2022, 8:08 PM
Reviewer
markj
Differential Revision
D36564: riscv: add an assert to pmap_remove_pages()
Parents
rG9d1aef84021f: riscv: handle superpage in pmap_enter_quick_locked()
Branches
Unknown
Tags
Unknown