1 #ifndef XTENSA_TARGET_STRUCTS_H
2 #define XTENSA_TARGET_STRUCTS_H
4 struct target_ipc_perm
{
5 abi_int __key
; /* Key. */
6 abi_uint uid
; /* Owner's user ID. */
7 abi_uint gid
; /* Owner's group ID. */
8 abi_uint cuid
; /* Creator's user ID. */
9 abi_uint cgid
; /* Creator's group ID. */
10 abi_uint mode
; /* Read/write permission. */
11 abi_ulong __seq
; /* Sequence number. */
16 struct target_semid64_ds
{
17 struct target_ipc_perm sem_perm
;
33 #define TARGET_SEMID64_DS
35 struct target_shmid_ds
{
36 struct target_ipc_perm shm_perm
; /* operation permission struct */
37 abi_long shm_segsz
; /* size of segment in bytes */
38 abi_long shm_atime
; /* time of last shmat() */
40 abi_long shm_dtime
; /* time of last shmdt() */
42 abi_long shm_ctime
; /* time of last change by shmctl() */
44 abi_uint shm_cpid
; /* pid of creator */
45 abi_uint shm_lpid
; /* pid of last shmop */
46 abi_ulong shm_nattch
; /* number of current attaches */