diff options
author | peter <peter@FreeBSD.org> | 2005-12-06 23:06:29 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2005-12-06 23:06:29 +0000 |
commit | a854646ee044af333606f04940e60d0ac61234f7 (patch) | |
tree | 09390b4942bc1ab8ff41bc08a8a226526bc79880 /sys/compat/ia32/ia32_signal.h | |
parent | 0b37b8af54c1ea5009c429ba66c21949b0d93769 (diff) | |
download | FreeBSD-src-a854646ee044af333606f04940e60d0ac61234f7.zip FreeBSD-src-a854646ee044af333606f04940e60d0ac61234f7.tar.gz |
Catch up to the system siginfo changes. Use a union for the ia32 layout
of siginfo just like the system one. There are now two fields to copy
instead of one.
Diffstat (limited to 'sys/compat/ia32/ia32_signal.h')
-rw-r--r-- | sys/compat/ia32/ia32_signal.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/sys/compat/ia32/ia32_signal.h b/sys/compat/ia32/ia32_signal.h index 267d472..8868a7e 100644 --- a/sys/compat/ia32/ia32_signal.h +++ b/sys/compat/ia32/ia32_signal.h @@ -155,8 +155,25 @@ struct ia32_siginfo { int si_status; /* exit value */ u_int32_t si_addr; /* faulting instruction */ union ia32_sigval si_value; /* signal value */ - int32_t si_band; /* band event for SIGPOLL */ - int __spare__[7]; /* gimme some slack */ + union { + struct { + int _trapno;/* machine specific trap code */ + } _fault; + struct { + int _timerid; + int _overrun; + } _timer; + struct { + int _mqd; + } _mesgq; + struct { + int _band; /* band event for SIGPOLL */ + } _poll; /* was this ever used ? */ + struct { + int __spare1__; + int __spare2__[7]; + } __spare__; + } _reason; }; #ifdef COMPAT_FREEBSD4 |