Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 7 | #ifndef _ASM_X86_SEMBUF_H |
| 8 | #define _ASM_X86_SEMBUF_H |
Christopher Ferris | ef80d68 | 2020-02-04 16:16:51 -0800 | [diff] [blame] | 9 | #include <asm/ipcbuf.h> |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 10 | struct semid64_ds { |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 11 | struct ipc64_perm sem_perm; |
Christopher Ferris | a981e2e | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 12 | #ifdef __i386__ |
| 13 | unsigned long sem_otime; |
| 14 | unsigned long sem_otime_high; |
| 15 | unsigned long sem_ctime; |
| 16 | unsigned long sem_ctime_high; |
| 17 | #else |
Christopher Ferris | ef80d68 | 2020-02-04 16:16:51 -0800 | [diff] [blame] | 18 | __kernel_long_t sem_otime; |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 19 | __kernel_ulong_t __unused1; |
Christopher Ferris | ef80d68 | 2020-02-04 16:16:51 -0800 | [diff] [blame] | 20 | __kernel_long_t sem_ctime; |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 21 | __kernel_ulong_t __unused2; |
Christopher Ferris | a981e2e | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 22 | #endif |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 23 | __kernel_ulong_t sem_nsems; |
| 24 | __kernel_ulong_t __unused3; |
| 25 | __kernel_ulong_t __unused4; |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 26 | }; |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 27 | #endif |