mirror of
https://github.com/fluencelabs/musl
synced 2025-04-25 07:12:15 +00:00
s390x: provide sigcontext struct definition
This structure was missed when creating the s390x port. This is based on the report and patch from William Pitcock, but with a modified structure defintion to more closely match the kernel's definition.
This commit is contained in:
parent
bb439bb171
commit
5555041668
@ -33,6 +33,21 @@ typedef struct
|
|||||||
fpregset_t fpregs;
|
fpregset_t fpregs;
|
||||||
} mcontext_t;
|
} mcontext_t;
|
||||||
|
|
||||||
|
struct sigcontext {
|
||||||
|
unsigned long oldmask[1];
|
||||||
|
struct {
|
||||||
|
struct {
|
||||||
|
__psw_t psw;
|
||||||
|
unsigned long gprs[16];
|
||||||
|
unsigned acrs[16];
|
||||||
|
} regs;
|
||||||
|
struct {
|
||||||
|
unsigned fpc;
|
||||||
|
double fprs[16];
|
||||||
|
} fpregs;
|
||||||
|
} *sregs;
|
||||||
|
};
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user