1: /*
   2:  * Copyright (c) 1983 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)SYS.h	5.1 (Berkeley) 6/5/85
   7:  */
   8: 
   9: #include <syscall.h>
  10: 
  11: #ifdef PROF
  12: #define ENTRY(x)    .globl _/**/x; .align 2; _/**/x: .word 0; \
  13:             .data; 1:; .long 0; .text; moval 1b,r0; jsb mcount
  14: #else
  15: #define ENTRY(x)    .globl _/**/x; .align 2; _/**/x: .word 0
  16: #endif PROF
  17: #define SYSCALL(x)  err: jmp cerror; ENTRY(x); chmk $SYS_/**/x; jcs err
  18: #define PSEUDO(x,y) ENTRY(x); chmk $SYS_/**/y
  19: #define CALL(x,y)   calls $x, _/**/y
  20: 
  21:     .globl  cerror

Defined macros

CALL defined in line 19; never used
ENTRY defined in line 15; used 3 times
PSEUDO defined in line 18; used 1 times
SYSCALL defined in line 17; never used

Usage of this include

SYS.h used 116 times
Last modified: 1985-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 780
Valid CSS Valid XHTML 1.0 Strict