arm64: libstub: Move KASLR handling functions to kaslr.c
This prepares for riscv to use the same functions to handle the pĥysical kernel move when KASLR is enabled. Signed-off-by:Alexandre Ghiti <alexghiti@rivosinc.com> Acked-by:
Ard Biesheuvel <ardb@kernel.org> Tested-by:
Conor Dooley <conor.dooley@microchip.com> Tested-by:
Song Shuai <songshuaishuai@tinylab.org> Reviewed-by:
Sami Tolvanen <samitolvanen@google.com> Tested-by:
Sami Tolvanen <samitolvanen@google.com> Link: https://lore.kernel.org/r/20230722123850.634544-4-alexghiti@rivosinc.com Signed-off-by:
Palmer Dabbelt <palmer@rivosinc.com>
Showing
- arch/arm64/include/asm/efi.h 2 additions, 0 deletionsarch/arm64/include/asm/efi.h
- drivers/firmware/efi/libstub/Makefile 1 addition, 1 deletiondrivers/firmware/efi/libstub/Makefile
- drivers/firmware/efi/libstub/arm64-stub.c 13 additions, 104 deletionsdrivers/firmware/efi/libstub/arm64-stub.c
- drivers/firmware/efi/libstub/efistub.h 8 additions, 0 deletionsdrivers/firmware/efi/libstub/efistub.h
- drivers/firmware/efi/libstub/kaslr.c 159 additions, 0 deletionsdrivers/firmware/efi/libstub/kaslr.c
Loading
Please register or sign in to comment