mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
add loongarch64 signal.h register index macros
This commit is contained in:
parent
a7239cbc1b
commit
f2c9350543
1 changed files with 11 additions and 0 deletions
|
@ -6,6 +6,17 @@
|
|||
#define SIGSTKSZ 16384
|
||||
#endif
|
||||
|
||||
#if defined(_GNU_SOURCE)
|
||||
#define LARCH_NGREG 32
|
||||
#define LARCH_REG_RA 1
|
||||
#define LARCH_REG_SP 3
|
||||
#define LARCH_REG_S0 23
|
||||
#define LARCH_REG_S1 24
|
||||
#define LARCH_REG_A0 4
|
||||
#define LARCH_REG_S2 25
|
||||
#define LARCH_REG_NARGS 8
|
||||
#endif
|
||||
|
||||
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
||||
typedef unsigned long greg_t, gregset_t[32];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue