Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Alexander Graf's avatar
    97d44b1f
    arm: Introduce setjmp/longjmp · 97d44b1f
    Alexander Graf authored
    
    To quit an EFI application we will need logic to jump to the caller
    of a function without returning from the function we called into,
    so we need setjmp/longjmp functionality.
    
    This patch introduces a trivial implementation of these that I
    verified works on armv7, thumb2 and aarch64.
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    97d44b1f
    History
    arm: Introduce setjmp/longjmp
    Alexander Graf authored
    
    To quit an EFI application we will need logic to jump to the caller
    of a function without returning from the function we called into,
    so we need setjmp/longjmp functionality.
    
    This patch introduces a trivial implementation of these that I
    verified works on armv7, thumb2 and aarch64.
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>