1 #ifndef XTENSA_TARGET_STRUCTS_T
2 #define XTENSA_TARGET_STRUCTS_T
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_ushort __seq
; /* Sequence number. */
14 struct target_shmid_ds
{
15 struct target_ipc_perm shm_perm
; /* operation permission struct */
16 abi_int shm_segsz
; /* size of segment in bytes */
17 abi_long shm_atime
; /* time of last shmat() */
18 abi_long shm_dtime
; /* time of last shmdt() */
19 abi_long shm_ctime
; /* time of last change by shmctl() */
20 abi_ushort shm_cpid
; /* pid of creator */
21 abi_ushort shm_lpid
; /* pid of last shmop */
22 abi_ushort shm_nattch
; /* number of current attaches */
23 abi_ushort shm_unused
; /* compatibility */