blob: 705db8b1c0ddc435fb0b118c5344ebf1a417352c [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
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 Hughesabd62612013-11-08 11:45:48 -08007#ifndef _ASM_X86_SEMBUF_H
8#define _ASM_X86_SEMBUF_H
Christopher Ferrisef80d682020-02-04 16:16:51 -08009#include <asm/ipcbuf.h>
Elliott Hughesabd62612013-11-08 11:45:48 -080010struct semid64_ds {
Tao Baod7db5942015-01-28 10:07:51 -080011 struct ipc64_perm sem_perm;
Christopher Ferrisa981e2e2018-10-25 12:11:39 -070012#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 Ferrisef80d682020-02-04 16:16:51 -080018 __kernel_long_t sem_otime;
Tao Baod7db5942015-01-28 10:07:51 -080019 __kernel_ulong_t __unused1;
Christopher Ferrisef80d682020-02-04 16:16:51 -080020 __kernel_long_t sem_ctime;
Tao Baod7db5942015-01-28 10:07:51 -080021 __kernel_ulong_t __unused2;
Christopher Ferrisa981e2e2018-10-25 12:11:39 -070022#endif
Tao Baod7db5942015-01-28 10:07:51 -080023 __kernel_ulong_t sem_nsems;
24 __kernel_ulong_t __unused3;
25 __kernel_ulong_t __unused4;
Elliott Hughesabd62612013-11-08 11:45:48 -080026};
Elliott Hughesabd62612013-11-08 11:45:48 -080027#endif