• Ard Biesheuvel's avatar
    efi: libstub: Move screen_info handling to common code · 732ea9db
    Ard Biesheuvel authored
    Currently, arm64, RISC-V and LoongArch rely on the fact that struct
    screen_info can be accessed directly, due to the fact that the EFI stub
    and the core kernel are part of the same image. This will change after a
    future patch, so let's ensure that the screen_info handling is able to
    deal with this, by adopting the arm32 approach of passing it as a
    configuration table. While at it, switch to ACPI reclaim memory to hold
    the screen_info data, which is more appropriate for this kind of
    allocation.
    Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
    732ea9db
efi-init.c 5.95 KB