Synchronize the struct sigcontext definitions on x86 with mcontext_t.

Pointed out by:	bde
MFC after:	1 month
This commit is contained in:
Konstantin Belousov 2012-01-30 07:51:52 +00:00
parent e60867e953
commit a045432a58
2 changed files with 9 additions and 3 deletions

View File

@ -99,7 +99,10 @@ struct sigcontext {
long sc_fsbase;
long sc_gsbase;
long sc_spare[6];
long sc_xfpustate;
long sc_xfpustate_len;
long sc_spare[4];
};
#endif /* __BSD_VISIBLE */

View File

@ -115,13 +115,16 @@ struct sigcontext {
*/
int sc_fpformat;
int sc_ownedfp;
int sc_spare1[1];
int sc_flags;
int sc_fpstate[128] __aligned(16);
int sc_fsbase;
int sc_gsbase;
int sc_spare2[6];
int sc_xfpustate;
int sc_xfpustate_len;
int sc_spare2[4];
};
#define sc_sp sc_esp