]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the pmap-specific code in copyinout.c that gets pointers to userland
authornwhitehorn <nwhitehorn@FreeBSD.org>
Mon, 15 Jan 2018 06:46:33 +0000 (06:46 +0000)
committernwhitehorn <nwhitehorn@FreeBSD.org>
Mon, 15 Jan 2018 06:46:33 +0000 (06:46 +0000)
commita1ff6e907ca1b4379d9421fc9849192dde3078a9
tree458fc9b34424826c63b0e5965c68885a55cb671b
parent6e1afb75f76a2c622f834996ee20b63277233d10
Move the pmap-specific code in copyinout.c that gets pointers to userland
buffers into a new pmap-module function pmap_map_user_ptr() that can
be implemented by the respective modules. This is required to implement
non-segment-based AIM-ish MMU systems such as the radix-tree page tables
introduced by POWER ISA 3.0 and present on POWER9.

Reviewed by: jhibbits
sys/powerpc/aim/mmu_oea.c
sys/powerpc/aim/mmu_oea64.c
sys/powerpc/booke/pmap.c
sys/powerpc/include/pmap.h
sys/powerpc/powerpc/copyinout.c
sys/powerpc/powerpc/mmu_if.m
sys/powerpc/powerpc/pmap_dispatch.c