riscv: Add setjmp/longjmp code
authorAlexander Graf <agraf@suse.de>
Mon, 23 Apr 2018 05:59:43 +0000 (07:59 +0200)
committerAndes <uboot@andestech.com>
Tue, 29 May 2018 06:43:12 +0000 (14:43 +0800)
commita7f99e5dd7dfa1853dee25e0fcb761eee0fb3ad3
tree4a22ea380b55b8b74e0ca03d6c96dc472bdf07f1
parentc3c863880479edeb5b08226e622d13c91326e4a7
riscv: Add setjmp/longjmp code

To support efi_loader we need to have platform support for setjmp/longjmp.
Add it here.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/riscv/include/asm/setjmp.h [new file with mode: 0644]
arch/riscv/lib/Makefile
arch/riscv/lib/setjmp.S [new file with mode: 0644]