142
142
struct target_vm86plus_info_struct vm86plus;
147
#define TARGET_SEMOP 1
148
#define TARGET_SEMGET 2
149
#define TARGET_SEMCTL 3
150
#define TARGET_MSGSND 11
151
#define TARGET_MSGRCV 12
152
#define TARGET_MSGGET 13
153
#define TARGET_MSGCTL 14
154
#define TARGET_SHMAT 21
155
#define TARGET_SHMDT 22
156
#define TARGET_SHMGET 23
157
#define TARGET_SHMCTL 24
159
struct target_msgbuf {
164
struct target_ipc_kludge {
165
unsigned int msgp; /* Really (struct msgbuf *) */
169
struct target_ipc_perm {
179
struct target_msqid_ds {
180
struct target_ipc_perm msg_perm;
181
unsigned int msg_first; /* really struct target_msg* */
182
unsigned int msg_last; /* really struct target_msg* */
183
unsigned int msg_stime; /* really target_time_t */
184
unsigned int msg_rtime; /* really target_time_t */
185
unsigned int msg_ctime; /* really target_time_t */
186
unsigned int wwait; /* really struct wait_queue* */
187
unsigned int rwait; /* really struct wait_queue* */
188
unsigned short msg_cbytes;
189
unsigned short msg_qnum;
190
unsigned short msg_qbytes;
191
unsigned short msg_lspid;
192
unsigned short msg_lrpid;
195
struct target_shmid_ds {
196
struct target_ipc_perm shm_perm;
198
unsigned int shm_atime; /* really target_time_t */
199
unsigned int shm_dtime; /* really target_time_t */
200
unsigned int shm_ctime; /* really target_time_t */
201
unsigned short shm_cpid;
202
unsigned short shm_lpid;
204
unsigned short shm_npages;
205
unsigned long *shm_pages;
206
void *attaches; /* really struct shm_desc * */
209
#define TARGET_IPC_RMID 0
210
#define TARGET_IPC_SET 1
211
#define TARGET_IPC_STAT 2
215
unsigned int buf; /* really struct semid_ds * */
216
unsigned int array; /* really unsigned short * */
217
unsigned int __buf; /* really struct seminfo * */
218
unsigned int __pad; /* really void* */
221
145
#define UNAME_MACHINE "i686"