OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-s390/] [ipc.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
2
 *  include/asm-s390/ipc.h
3
 *
4
 *  S390 version
5
 *
6
 *  Derived from "include/asm-i386/ipc.h"
7
 */
8
 
9
#ifndef __s390_IPC_H__
10
#define __s390_IPC_H__
11
 
12
/*
13
 * These are used to wrap system calls on S390.
14
 *
15
 * See arch/s390/kernel/sys_s390.c for ugly details..
16
 */
17
struct ipc_kludge {
18
        struct msgbuf *msgp;
19
        long msgtyp;
20
};
21
 
22
#define SEMOP            1
23
#define SEMGET           2
24
#define SEMCTL           3
25
#define MSGSND          11
26
#define MSGRCV          12
27
#define MSGGET          13
28
#define MSGCTL          14
29
#define SHMAT           21
30
#define SHMDT           22
31
#define SHMGET          23
32
#define SHMCTL          24
33
 
34
/* Used by the DIPC package, try and avoid reusing it */
35
#define DIPC            25
36
 
37
#define IPCCALL(version,op)     ((version)<<16 | (op))
38
 
39
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.