]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Assume that pmap_l1() will return a PTE.
authormarkj <markj@FreeBSD.org>
Fri, 14 Dec 2018 21:03:01 +0000 (21:03 +0000)
committermarkj <markj@FreeBSD.org>
Fri, 14 Dec 2018 21:03:01 +0000 (21:03 +0000)
commit2a30688b57a446e7422fea26573cea981edb62fa
tree85a25c0b999b229cd458661a8936eeb8aeeadb98
parent96ce579a001bbe7479c0fc3fa3dceaafd7956c1c
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