Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

efi_runtime.c

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Alexander Graf's avatar
    50149ea3
    efi_loader: Add runtime services · 50149ea3
    Alexander Graf authored
    
    After booting has finished, EFI allows firmware to still interact with the OS
    using the "runtime services". These callbacks live in a separate address space,
    since they are available long after U-Boot has been overwritten by the OS.
    
    This patch adds enough framework for arbitrary code inside of U-Boot to become
    a runtime service with the right section attributes set. For now, we don't make
    use of it yet though.
    
    We could maybe in the future map U-boot environment variables to EFI variables
    here.
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
    Tested-by: default avatarSimon Glass <sjg@chromium.org>
    50149ea3
    History
    efi_loader: Add runtime services
    Alexander Graf authored
    
    After booting has finished, EFI allows firmware to still interact with the OS
    using the "runtime services". These callbacks live in a separate address space,
    since they are available long after U-Boot has been overwritten by the OS.
    
    This patch adds enough framework for arbitrary code inside of U-Boot to become
    a runtime service with the right section attributes set. For now, we don't make
    use of it yet though.
    
    We could maybe in the future map U-boot environment variables to EFI variables
    here.
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
    Tested-by: default avatarSimon Glass <sjg@chromium.org>