diff options
author | David 'Digit' Turner <digit@android.com> | 2011-05-11 01:48:28 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-06-01 17:08:19 +0200 |
commit | e49c3f3e66b4337859af7c1be013b076eb4de136 (patch) | |
tree | f3a8643d6b3584cbdbe258cb52f30b7a30203af8 /compatfd.h | |
parent | 427603850ef4ad967c7d6bb23584a0a8de0d930d (diff) | |
download | external_qemu-e49c3f3e66b4337859af7c1be013b076eb4de136.zip external_qemu-e49c3f3e66b4337859af7c1be013b076eb4de136.tar.gz external_qemu-e49c3f3e66b4337859af7c1be013b076eb4de136.tar.bz2 |
compatfd.c: minor integrate
Change-Id: I93f921bfb2778bb592c9a4ce1e8c26ff5a5b6a97
Diffstat (limited to 'compatfd.h')
-rw-r--r-- | compatfd.h | 23 |
1 files changed, 19 insertions, 4 deletions
@@ -17,12 +17,27 @@ #include <signal.h> struct qemu_signalfd_siginfo { - uint32_t ssi_signo; - uint8_t pad[124]; + uint32_t ssi_signo; /* Signal number */ + int32_t ssi_errno; /* Error number (unused) */ + int32_t ssi_code; /* Signal code */ + uint32_t ssi_pid; /* PID of sender */ + uint32_t ssi_uid; /* Real UID of sender */ + int32_t ssi_fd; /* File descriptor (SIGIO) */ + uint32_t ssi_tid; /* Kernel timer ID (POSIX timers) */ + uint32_t ssi_band; /* Band event (SIGIO) */ + uint32_t ssi_overrun; /* POSIX timer overrun count */ + uint32_t ssi_trapno; /* Trap number that caused signal */ + int32_t ssi_status; /* Exit status or signal (SIGCHLD) */ + int32_t ssi_int; /* Integer sent by sigqueue(2) */ + uint64_t ssi_ptr; /* Pointer sent by sigqueue(2) */ + uint64_t ssi_utime; /* User CPU time consumed (SIGCHLD) */ + uint64_t ssi_stime; /* System CPU time consumed (SIGCHLD) */ + uint64_t ssi_addr; /* Address that generated signal + (for hardware-generated signals) */ + uint8_t pad[48]; /* Pad size to 128 bytes (allow for + additional fields in the future) */ }; int qemu_signalfd(const sigset_t *mask); -int qemu_eventfd(int *fds); - #endif |