Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2008 00:58:06 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185898 - head/sys/compat/freebsd32
Message-ID:  <200812110058.mBB0w6HD048102@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Thu Dec 11 00:58:05 2008
New Revision: 185898
URL: http://svn.freebsd.org/changeset/base/185898

Log:
  Add 32-bit compat support for AIO.
  
  jhb probably forgot to commit this file with r185878 and will want to
  review this. It unbreaks the build here.
  
  Obtained from:	p4 //depot/user/jhb/lock/compat/freebsd32/freebsd32_signal.h#2

Modified:
  head/sys/compat/freebsd32/freebsd32_signal.h

Modified: head/sys/compat/freebsd32/freebsd32_signal.h
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_signal.h	Thu Dec 11 00:46:07 2008	(r185897)
+++ head/sys/compat/freebsd32/freebsd32_signal.h	Thu Dec 11 00:58:05 2008	(r185898)
@@ -36,6 +36,9 @@ struct sigaltstack32 {
 };
 
 union sigval32 {
+	int			sival_int;
+	u_int32_t		sival_ptr;
+	/* 6.0 compatibility */
 	int			sigval_int;
 	u_int32_t		sigval_ptr;
 };
@@ -70,6 +73,29 @@ struct siginfo32 {
 	} _reason;
 };
 
+struct osigevent32 {
+	int	sigev_notify;		/* Notification type */
+	union {
+		int	__sigev_signo;	/* Signal number */
+		int	__sigev_notify_kqueue;
+	} __sigev_u;
+	union sigval32 sigev_value;	/* Signal value */
+};
+
+struct sigevent32 {
+	int	sigev_notify;		/* Notification type */
+	int	sigev_signo;		/* Signal number */
+	union sigval32 sigev_value;	/* Signal value */
+	union {
+		__lwpid_t	_threadid;
+		struct {
+			uint32_t _function;
+			uint32_t _attribute;
+		} _sigev_thread;
+		uint32_t __spare__[8];
+	} _sigev_un;
+};
+
 void siginfo_to_siginfo32(siginfo_t *src, struct siginfo32 *dst);
 
 #endif /* !_COMPAT_FREEBSD32_SIGNAL_H_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812110058.mBB0w6HD048102>