Skip to content
Snippets Groups Projects
Select Git revision
4 results

efi_image_loader.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Alexander Graf's avatar
      1cd29f0a
      efi_loader: Fix some entry/exit points · 1cd29f0a
      Alexander Graf authored
      
      When switching between EFI context and U-Boot context we need to swap
      the register that "gd" resides in.
      
      Some functions slipped through here, with efi_allocate_pool / efi_free_pool
      not doing the switch correctly and efi_return_handle switching too often.
      
      Fix them all up to make sure we always have consistent register state.
      
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      1cd29f0a
      History
      efi_loader: Fix some entry/exit points
      Alexander Graf authored
      
      When switching between EFI context and U-Boot context we need to swap
      the register that "gd" resides in.
      
      Some functions slipped through here, with efi_allocate_pool / efi_free_pool
      not doing the switch correctly and efi_return_handle switching too often.
      
      Fix them all up to make sure we always have consistent register state.
      
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>