ipc.h 679 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * include/asm-xtensa/ipc.h
  3. *
  4. * This file is subject to the terms and conditions of the GNU General
  5. * Public License. See the file "COPYING" in the main directory of
  6. * this archive for more details.
  7. *
  8. * Copyright (C) 2001 - 2005 Tensilica Inc.
  9. */
  10. #ifndef _XTENSA_IPC_H
  11. #define _XTENSA_IPC_H
  12. struct ipc_kludge {
  13. struct msgbuf __user *msgp;
  14. long msgtyp;
  15. };
  16. #define SEMOP 1
  17. #define SEMGET 2
  18. #define SEMCTL 3
  19. #define SEMTIMEDOP 4
  20. #define MSGSND 11
  21. #define MSGRCV 12
  22. #define MSGGET 13
  23. #define MSGCTL 14
  24. #define SHMAT 21
  25. #define SHMDT 22
  26. #define SHMGET 23
  27. #define SHMCTL 24
  28. #define IPCCALL(version,op) ((version)<<16 | (op))
  29. #endif /* _XTENSA_IPC_H */