CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2017/03/24 13:48:01
Modified files: sys/arch/arm64/arm64: cpufunc_asm.S cpuswitch.S genassym.cf pmap.c sys/arch/arm64/include: cpufunc.h pcb.h pmap.h Log message: Simplify ASID allocation code considerably by allocating an ASID up front when a pmap is created and freeing it when the pmap is destroyed. This diff relies on the fill 16-bit ASID space being implemented in the processor. While this is documented as an optional feature in the ARMv8 architecture reference manual, all ARMv8 processors seen in the wild so far implement the full 16-bit space. This change incorporates changes by drahn@ to allocate an empty page table for the lower half of the address space for the kernel. ok drahn@, patrick@