Skip to content
Snippets Groups Projects
  • Alexander Graf's avatar
    ae874405
    efi_loader: Clean up system table on exit · ae874405
    Alexander Graf authored
    
    We put the system table into our runtime services data section so that
    payloads may still access it after exit_boot_services. However, most fields
    in it are quite useless once we're in that state, so let's just patch them
    out.
    
    With this patch we don't get spurious warnings when running EFI binaries
    anymore.
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    ae874405
    History
    efi_loader: Clean up system table on exit
    Alexander Graf authored
    
    We put the system table into our runtime services data section so that
    payloads may still access it after exit_boot_services. However, most fields
    in it are quite useless once we're in that state, so let's just patch them
    out.
    
    With this patch we don't get spurious warnings when running EFI binaries
    anymore.
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
efi_runtime.c 7.59 KiB