Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Alexander Graf's avatar
    cc4a4748
    arm: Allow EFI payload code to take exceptions · cc4a4748
    Alexander Graf authored
    
    There are 2 ways an EFI payload could return into u-boot:
    
      - Callback function
      - Exception
    
    While in EFI payload mode, r9 is owned by the payload and may not contain
    a valid pointer to gd, so we need to fix it up. We do that properly for the
    payload to callback path already.
    
    This patch also adds gd pointer restoral for the exception path.
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    cc4a4748
    History
    arm: Allow EFI payload code to take exceptions
    Alexander Graf authored
    
    There are 2 ways an EFI payload could return into u-boot:
    
      - Callback function
      - Exception
    
    While in EFI payload mode, r9 is owned by the payload and may not contain
    a valid pointer to gd, so we need to fix it up. We do that properly for the
    payload to callback path already.
    
    This patch also adds gd pointer restoral for the exception path.
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>