|
|
1.1 root 1: /*
2: * Copyright (c) 1980 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: * @(#)DEFS.h 5.1 (Berkeley) 5/30/85
7: */
8:
9: #define R0 0x001
10: #define R1 0x002
11: #define R2 0x004
12: #define R3 0x008
13: #define R4 0x010
14: #define R5 0x020
15: #define R6 0x040
16: #define R7 0x080
17: #define R8 0x100
18: #define R9 0x200
19: #define R10 0x400
20: #define R11 0x800
21:
22: #ifdef PROF
23: #define ENTRY(x, regs) \
24: .globl _/**/x; .align 2; _/**/x: .word regs; \
25: .data; 1:; .long 0; .text; moval 1b,r0; jsb mcount
26: #define ASENTRY(x, regs) \
27: .globl x; .align 2; x: .word regs; \
28: .data; 1:; .long 0; .text; moval 1b,r0; jsb mcount
29: #else
30: #define ENTRY(x, regs) \
31: .globl _/**/x; .align 2; _/**/x: .word regs
32: #define ASENTRY(x, regs) \
33: .globl x; .align 2; x: .word regs
34: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.