|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 1988 Regents of the University of California. ! 3: * All rights reserved. ! 4: * ! 5: * Redistribution is only permitted until one year after the first shipment ! 6: * of 4.4BSD by the Regents. Otherwise, redistribution and use in source and ! 7: * binary forms are permitted provided that: (1) source distributions retain ! 8: * this entire copyright notice and comment, and (2) distributions including ! 9: * binaries display the following acknowledgement: This product includes ! 10: * software developed by the University of California, Berkeley and its ! 11: * contributors'' in the documentation or other materials provided with the ! 12: * distribution and in all advertising materials mentioning features or use ! 13: * of this software. Neither the name of the University nor the names of ! 14: * its contributors may be used to endorse or promote products derived from ! 15: * this software without specific prior written permission. ! 16: * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED ! 17: * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF ! 18: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 19: * ! 20: * @(#)SYS.h 7.3 (Berkeley) 6/28/90 ! 21: */ ! 22: ! 23: /* ! 24: * Macros used to define entry points ! 25: * in assembly language routines. ! 26: */ ! 27: #if defined(GPROF) || defined(PROF) ! 28: #define ENTRY(name, regs) \ ! 29: .globl _/**/name; .align 2; _/**/name: .word regs; callf $4,mcount ! 30: #define ASENTRY(name, regs) \ ! 31: .globl name; .align 2; name: .word regs; callf $4,mcount ! 32: #else ! 33: #define ENTRY(name, regs) \ ! 34: .globl _/**/name; .align 2; _/**/name: .word regs ! 35: #define ASENTRY(name, regs) \ ! 36: .globl name; .align 2; name: .word regs ! 37: #endif ! 38: #define R0 0x0001 ! 39: #define R1 0x0002 ! 40: #define R2 0x0004 ! 41: #define R3 0x0008 ! 42: #define R4 0x0010 ! 43: #define R5 0x0020 ! 44: #define R6 0x0040 ! 45: #define R7 0x0080 ! 46: #define R8 0x0100 ! 47: #define R9 0x0200 ! 48: #define R10 0x0400 ! 49: #define R11 0x0800 ! 50: #define R12 0x1000
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.