home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 9.ddi / usr / include / sys / sys.s < prev    next >
Encoding:
Text File  |  1990-12-08  |  2.7 KB  |  139 lines

  1. #ifndef _SYS_SYS_S
  2. #define _SYS_SYS_S
  3.  
  4. #ident    "@(#)/usr/include/sys/sys.s.sl 1.1 4.0 12/08/90 30658 AT&T-USL"
  5.  
  6. /*
  7.  *    Definitions of Kernel Entry Call Gates - for i386
  8.  *
  9.  * Moved to head.sys from head.
  10.  *
  11.  * A forward pointer has been left in: usr/include/sys.s
  12.  *    to include this file.
  13.  *
  14.  * Changed to map to a new 4.0 sys hdr, syscall.h
  15.  *    These old defines are being maintained for reasons of
  16.  *    backward compatability.
  17.  *
  18.  * The only thing actually required, here, is to define _SYS_SYS_S
  19.  *    and then include sys/syscall.h.
  20.  *
  21.  * By convention, C-programs should include <sys/syscall.h>, directly,
  22.  *    while Asm-programs should include <sys/sys.s> which will
  23.  *    define _SYS_SYS_S so that only '#define's from <sys/syscall.h>
  24.  *    will actually get included.
  25. */
  26.  
  27. #include <sys/syscall.h>
  28.  
  29. #define    SYSCALL    $0x7,$0
  30. #define SIGCALL $0xF,$0
  31.  
  32. /*
  33.  *    Definitions of System Call Entry Point Numbers
  34. */
  35.  
  36. #define    ACCESS    33
  37. #define    ACCT    51
  38. #define    ADVFS    70
  39. #define    ALARM    27
  40. #define    BREAK    17
  41. #define    BRK    17
  42. #define    CHDIR    12
  43. #define    CHMOD    15
  44. #define    CHOWN    16
  45. #define    CHROOT    61
  46. #define    CLOSE    6
  47. #define    CREAT    8
  48. #define    DUP    41
  49. #define    EXEC    11
  50. #define    EXECE    59
  51. #define    EXIT    1
  52. #define    FCNTL    62
  53. #define    FORK    2
  54. #define    FSTAT    28
  55. #define    FSTATFS    38
  56. #define    GETDENTS    81
  57. #define    GETGID    47
  58. #define    GETMSG    85
  59. #define    GETPID    20
  60. #define    GETUID    24
  61. #define    GTTY    32
  62. #define    IOCTL    54
  63. #define    KILL    37
  64. #define    LINK    9
  65. #define    LOCK    45
  66. #define    LSEEK    19
  67. #define    MKDIR    80
  68. #define    MKNOD    14
  69. #define    MOUNT    21
  70. #define    MSGSYS    49
  71. #define    NICE    34
  72. #define    OPEN    5
  73. #define    PAUSE    29
  74. #define    PIPE    42
  75. #define    PLOCK    45
  76. #define    POLL    87
  77. #define    PROF    44
  78. #define    PTRACE    26
  79. #define    PUTMSG    86
  80. #define    RDEBUG    76
  81. #define    READ    3
  82. #define    RFSTART    74
  83. #define    RFSTOP    77
  84. #define    RFSYS    78
  85. #define    RMDIR    79
  86. #define    RMOUNT    72
  87. #define    RUMOUNT    73
  88. #define    SEEK    19
  89. #define    SEMSYS    53
  90. #define    SETGID    46
  91. #define    SETPGRP    39
  92. #define    SETUID    23
  93. #define    SHMSYS    52
  94. #define    SIGNAL    48
  95. #define    STAT    18
  96. #define    STATFS    35
  97. #define    STIME    25
  98. #define    STTY    31
  99. #define    SYNC    36
  100. #define    SYS3B    50
  101. #define SYSI86  50
  102. #define    SYSACCT    51
  103. #define    SYSFS    84
  104. #define    TIME    13
  105. #define    TIMES    43
  106. #define    UADMIN    55
  107. #define    ULIMIT    63
  108. #define    UMASK    60
  109. #define    UMOUNT    22
  110. #define    UNADVFS    71
  111. #define    UNLINK    10
  112. #define    UTIME    30
  113. #define    UTSSYS    57
  114. #define    WAIT    7
  115. #define    WRITE    4
  116. #define CXENIX    40
  117. #define XLOCKING    296
  118. #define CREATSEM    552
  119. #define OPENSEM        808
  120. #define SIGSEM        1064
  121. #define WAITSEM        1320
  122. #define NBWAITSEM    1576
  123. #define RDCHK        1832
  124. #define CHSIZE        2600
  125. #define FTIME        2856
  126. #define NAP        3112
  127. #define SDGET        3368
  128. #define SDFREE        3624
  129. #define SDENTER        3880
  130. #define SDLEAVE        4136
  131. #define SDGETV        4392
  132. #define SDWAITV        4648
  133. #define PROCTL        8232
  134. #define EXECSEG        8488
  135. #define UNEXECSEG    8744
  136. #define CLOCAL        127
  137.  
  138. #endif    /* _SYS_SYS_S */
  139.