summaryrefslogtreecommitdiffstats
path: root/sys/compat/ia32
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2005-12-06 23:06:29 +0000
committerpeter <peter@FreeBSD.org>2005-12-06 23:06:29 +0000
commita854646ee044af333606f04940e60d0ac61234f7 (patch)
tree09390b4942bc1ab8ff41bc08a8a226526bc79880 /sys/compat/ia32
parent0b37b8af54c1ea5009c429ba66c21949b0d93769 (diff)
downloadFreeBSD-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')
-rw-r--r--sys/compat/ia32/ia32_signal.h21
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
OpenPOWER on IntegriCloud