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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef __CRIS_IPC_H__
2
#define __CRIS_IPC_H__
3
 
4
/*
5
 * These are used to wrap system calls on CRIS.
6
 *
7
 * See arch/cris/kernel/sys_cris.c for ugly details..
8
 *
9
 * Same as x86 version.
10
 *
11
 */
12
struct ipc_kludge {
13
        struct msgbuf *msgp;
14
        long msgtyp;
15
};
16
 
17
#define SEMOP            1
18
#define SEMGET           2
19
#define SEMCTL           3
20
#define SEMTIMEDOP       4
21
#define MSGSND          11
22
#define MSGRCV          12
23
#define MSGGET          13
24
#define MSGCTL          14
25
#define SHMAT           21
26
#define SHMDT           22
27
#define SHMGET          23
28
#define SHMCTL          24
29
 
30
/* Used by the DIPC package, try and avoid reusing it */
31
#define DIPC            25
32
 
33
#define IPCCALL(version,op)     ((version)<<16 | (op))
34
 
35
#endif

powered by: WebSVN 2.1.0

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