mirror of
git://git.musl-libc.org/musl
synced 2024-12-13 10:15:40 +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;
|
||||
} 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
|
||||
|
||||
typedef struct {
|
||||
|
Loading…
Reference in New Issue
Block a user