diff options
-rw-r--r-- | arch/riscv32/bits/signal.h | 2 | ||||
-rw-r--r-- | arch/riscv64/bits/signal.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv32/bits/signal.h b/arch/riscv32/bits/signal.h index 287367db..271e7da6 100644 --- a/arch/riscv32/bits/signal.h +++ b/arch/riscv32/bits/signal.h @@ -41,7 +41,9 @@ typedef struct mcontext_t { #define REG_SP 2 #define REG_TP 4 #define REG_S0 8 +#define REG_S1 9 #define REG_A0 10 +#define REG_S2 18 #endif #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) diff --git a/arch/riscv64/bits/signal.h b/arch/riscv64/bits/signal.h index fd6157a3..6a53feb7 100644 --- a/arch/riscv64/bits/signal.h +++ b/arch/riscv64/bits/signal.h @@ -41,7 +41,9 @@ typedef struct mcontext_t { #define REG_SP 2 #define REG_TP 4 #define REG_S0 8 +#define REG_S1 9 #define REG_A0 10 +#define REG_S2 18 #endif #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) |