CVSROOT: /cvs Module name: src Changes by: dr...@cvs.openbsd.org 2019/07/13 15:31:59
Modified files: sys/arch/arm64/arm64: pmap.c Log message: Adjust the pmap_set_l* functions to a more reasonable API, the lX_pa parameter was never called with a known physical address, the called function always needed to look up that data. When this was originally written, it was expected to be used in another path where the virtual and physical were both known, but that other path was rewritten at some point (likely that old path was early kernel table init, before pmap_extract is available). Instead of making the function perform a table walk pass the pmapvpX pointer to the table that the new entry will be inserted. This table is already known and in a local register, so no point in performing that lookup again. ok kettenis@