X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Flongjmp.h;h=62daaad59bd5517359ce71f510008bf14433ed81;hb=6eb0f84e3;hp=67c650a617411f4c0c193df74e3ab9fad97cf52e;hpb=28d4271d1a9103099e6711fc58f9a479c8722e60;p=vpp.git diff --git a/src/vppinfra/longjmp.h b/src/vppinfra/longjmp.h index 67c650a6174..62daaad59bd 100644 --- a/src/vppinfra/longjmp.h +++ b/src/vppinfra/longjmp.h @@ -95,6 +95,9 @@ #define CLIB_ARCH_LONGJMP_REGS (22) #elif defined(_mips) && __mips == 64 #define CLIB_ARCH_LONGJMP_REGS (12) +#elif defined(__riscv) +/* ra, sp, s0-s11, fs0-fs11 */ +#define CLIB_ARCH_LONGJMP_REGS (26) #else #error "unknown machine" #endif