Lines Matching full:mapping
14 mapping is set up.
40 PMPs, in the direct mapping, so the firmware must correctly mark those regions
117 Virtual mapping installation
120 The installation of the virtual mapping is done in 2 steps in the RISC-V kernel:
122 1. ``setup_vm()`` installs a temporary kernel mapping in ``early_pg_dir`` which
124 at this point. When establishing this mapping, no allocation can be done
128 2. ``setup_vm_final()`` creates the final kernel mapping in ``swapper_pg_dir``
130 mapping. When establishing this mapping, the kernel can allocate memory but
131 cannot access it directly (since the direct mapping is not present yet), so
136 direct mapping addresses to physical addresses, they need to know the start of
138 mapping (see ``setup_bootmem()`` function in arch/riscv/mm/init.c). Any usage of
139 those macros before the final virtual mapping is installed must be carefully
142 Devicetree mapping via fixmap
146 by ``setup_vm()``, and used with the mapping established by
154 A few pieces of code need to run before even the first virtual mapping is
155 established. These are the installation of the first virtual mapping itself,