|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 1982 The Regents of the University of California. ! 3: * All rights reserved. ! 4: * ! 5: * Redistribution and use in source and binary forms are permitted ! 6: * provided that: (1) source distributions retain this entire copyright ! 7: * notice and comment, and (2) distributions including binaries display ! 8: * the following acknowledgement: ``This product includes software ! 9: * developed by the University of California, Berkeley and its contributors'' ! 10: * in the documentation or other materials provided with the distribution ! 11: * and in all advertising materials mentioning features or use of this ! 12: * software. Neither the name of the University nor the names of its ! 13: * contributors may be used to endorse or promote products derived ! 14: * from this software without specific prior written permission. ! 15: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ! 16: * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED ! 17: * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 18: * ! 19: * @(#)DEFS.h 5.3 (Berkeley) 6/1/90 ! 20: */ ! 21: ! 22: #define R0 0x001 ! 23: #define R1 0x002 ! 24: #define R2 0x004 ! 25: #define R3 0x008 ! 26: #define R4 0x010 ! 27: #define R5 0x020 ! 28: #define R6 0x040 ! 29: #define R7 0x080 ! 30: #define R8 0x100 ! 31: #define R9 0x200 ! 32: #define R10 0x400 ! 33: #define R11 0x800 ! 34: ! 35: #ifdef PROF ! 36: #define ENTRY(x, regs) \ ! 37: .globl _/**/x; .align 2; _/**/x: .word regs; \ ! 38: .data; 1:; .long 0; .text; moval 1b,r0; jsb mcount ! 39: #define ASENTRY(x, regs) \ ! 40: .globl x; .align 2; x: .word regs; \ ! 41: .data; 1:; .long 0; .text; moval 1b,r0; jsb mcount ! 42: #else ! 43: #define ENTRY(x, regs) \ ! 44: .globl _/**/x; .align 2; _/**/x: .word regs ! 45: #define ASENTRY(x, regs) \ ! 46: .globl x; .align 2; x: .word regs ! 47: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.