mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-10 07:14:15 +03:00
aarch64: add extra_context struct from linux v4.13
allows expanding the signal frame beyond the 4k reserved space. new in linux commit 33f082614c3443d937f50fe936f284f62bbb4a1b
This commit is contained in:
parent
6651ef1f06
commit
ffd048a07b
@ -24,6 +24,7 @@ typedef struct sigcontext {
|
|||||||
|
|
||||||
#define FPSIMD_MAGIC 0x46508001
|
#define FPSIMD_MAGIC 0x46508001
|
||||||
#define ESR_MAGIC 0x45535201
|
#define ESR_MAGIC 0x45535201
|
||||||
|
#define EXTRA_MAGIC 0x45585401
|
||||||
struct _aarch64_ctx {
|
struct _aarch64_ctx {
|
||||||
unsigned int magic;
|
unsigned int magic;
|
||||||
unsigned int size;
|
unsigned int size;
|
||||||
@ -38,6 +39,12 @@ struct esr_context {
|
|||||||
struct _aarch64_ctx head;
|
struct _aarch64_ctx head;
|
||||||
unsigned long esr;
|
unsigned long esr;
|
||||||
};
|
};
|
||||||
|
struct extra_context {
|
||||||
|
struct _aarch64_ctx head;
|
||||||
|
unsigned long datap;
|
||||||
|
unsigned int size;
|
||||||
|
unsigned int __reserved[3];
|
||||||
|
};
|
||||||
#else
|
#else
|
||||||
typedef struct {
|
typedef struct {
|
||||||
long double __regs[18+256];
|
long double __regs[18+256];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user