Added setjmp/longjmp support to the kernel
authorKevin Klues <klueska@cs.berkeley.edu>
Thu, 8 Aug 2013 04:23:27 +0000 (21:23 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 8 Aug 2013 04:23:27 +0000 (21:23 -0700)
commit89538eee25c71e2c931f590f3213f4da94306302
treefd0d0d99282621003855f4e69801b091b96f8443
parent2be3789a779a6a3fb709fb9b5faf0212821d3ced
Added setjmp/longjmp support to the kernel

Full implementations for 32/64 bit x86.
Stubs in place for riscv with TODOs.
Test and example usage in kern/src/testing.c
kern/arch/riscv/setjmp.S [new file with mode: 0644]
kern/arch/riscv/setjmp.h [new file with mode: 0644]
kern/arch/x86/Kbuild
kern/arch/x86/setjmp.h [new file with mode: 0644]
kern/arch/x86/setjmp32.S [new file with mode: 0644]
kern/arch/x86/setjmp64.S [new file with mode: 0644]
kern/include/setjmp.h [new file with mode: 0644]
kern/src/testing.c