]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Assume that pmap_l1() will return a PTE.
authorMark Johnston <markj@FreeBSD.org>
Fri, 14 Dec 2018 21:03:01 +0000 (21:03 +0000)
committerMark Johnston <markj@FreeBSD.org>
Fri, 14 Dec 2018 21:03:01 +0000 (21:03 +0000)
commit4f86ff4e47e5a8b58211e0e3c5071e3f172a0eba
tree85a25c0b999b229cd458661a8936eeb8aeeadb98
parent01cd6fba6c63fa55cd85d3d32afdf352420573da
Assume that pmap_l1() will return a PTE.

pmaps on RISC-V always have an L1 page table page, so we don't need to
check for this when performing lookups.

Reviewed by: jhb
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18563
sys/riscv/riscv/pmap.c