riscv: Introduce structure that group all variables regarding kernel mapping
authorAlexandre Ghiti <alex@ghiti.fr>
Thu, 17 Jun 2021 13:53:07 +0000 (15:53 +0200)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Tue, 6 Jul 2021 01:04:00 +0000 (18:04 -0700)
commit658e2c5125bbbc9b9b5eac23b3c35b87df3c30b8
tree34e35315382e3a233f8df5fb4893a5a11ad98620
parent01112e5e20f5298a81639806cd0a3c587aade467
riscv: Introduce structure that group all variables regarding kernel mapping

We have a lot of variables that are used to hold kernel mapping addresses,
offsets between physical and virtual mappings and some others used for XIP
kernels: they are all defined at different places in mm/init.c, so group
them into a single structure with, for some of them, more explicit and concise
names.

Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/include/asm/page.h
arch/riscv/kernel/asm-offsets.c
arch/riscv/kernel/head.S
arch/riscv/kernel/kexec_relocate.S
arch/riscv/kernel/machine_kexec.c
arch/riscv/mm/init.c
arch/riscv/mm/physaddr.c
arch/riscv/mm/ptdump.c