]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
riscv: add an assert to pmap_remove_pages()
authorMitchell Horne <mhorne@FreeBSD.org>
Thu, 25 Aug 2022 20:08:20 +0000 (17:08 -0300)
committerMitchell Horne <mhorne@FreeBSD.org>
Thu, 13 Oct 2022 14:05:21 +0000 (11:05 -0300)
commitcffe8054a61ca435256f8fe2498ad14d2f61d570
tree83e81e7518f0c9bc47036ef9f60ab231bd2e3183
parent472294b86549d6cb7562cff4f702010a34565c87
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

(cherry picked from commit 99fe523778af8cd0db3a17b253adb77a980176be)
sys/riscv/riscv/pmap.c