提交 55550416 编写于 作者: B Bobby Bingham 提交者: Rich Felker

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.
上级 bb439bb1
...@@ -33,6 +33,21 @@ typedef struct ...@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册