]> git.sur5r.net Git - u-boot/commit
arm: Introduce setjmp/longjmp
authorAlexander Graf <agraf@suse.de>
Fri, 20 May 2016 21:28:22 +0000 (23:28 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2016 17:39:15 +0000 (13:39 -0400)
commit97d44b1f5c328af97d3c381c77858c8dd32c8e20
treeb1668e2f53dcdfac9f0b5ff52f9b7bca10a2dedc
parent145510cc7651fa36f1e6ee2d3d8504b05e965b1a
arm: Introduce setjmp/longjmp

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: Alexander Graf <agraf@suse.de>
arch/arm/include/asm/setjmp.h [new file with mode: 0644]