Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vppinfra: initial RISC-V support
[vpp.git]
/
src
/
vppinfra
/
longjmp.h
diff --git
a/src/vppinfra/longjmp.h
b/src/vppinfra/longjmp.h
index
67c650a
..
62daaad
100644
(file)
--- 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