|
|
1.1 root 1: /* SYS.h 4.1 83/05/10 */
2:
3: #include <syscall.h>
4:
5: #ifdef PROF
6: #define ENTRY(x) .globl _/**/x; .align 2; _/**/x: .word 0; \
7: .data; 1:; .long 0; .text; moval 1b,r0; jsb mcount
8: #else
9: #define ENTRY(x) .globl _/**/x; .align 2; _/**/x: .word 0
10: #endif PROF
11: #define SYSCALL(x) err: jmp cerror; ENTRY(x); chmk $SYS_/**/x; jcs err
12: #define PSEUDO(x,y) ENTRY(x); chmk $SYS_/**/y
13: #define CALL(x,y) calls $x, _/**/y
14:
15: .globl cerror
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.