|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. ! 3: * ! 4: * @APPLE_LICENSE_HEADER_START@ ! 5: * ! 6: * The contents of this file constitute Original Code as defined in and ! 7: * are subject to the Apple Public Source License Version 1.1 (the ! 8: * "License"). You may not use this file except in compliance with the ! 9: * License. Please obtain a copy of the License at ! 10: * http://www.apple.com/publicsource and read it before using this file. ! 11: * ! 12: * This Original Code and all software distributed under the License are ! 13: * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER ! 14: * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, ! 15: * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, ! 16: * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the ! 17: * License for the specific language governing rights and limitations ! 18: * under the License. ! 19: * ! 20: * @APPLE_LICENSE_HEADER_END@ ! 21: */ ! 22: /* ! 23: * @OSF_COPYRIGHT@ ! 24: */ ! 25: ! 26: /* ! 27: * ! 28: * These are the structures and constants used for the low-level trace ! 29: */ ! 30: ! 31: ! 32: ! 33: ! 34: ! 35: ! 36: #ifndef _LOW_TRACE_H_ ! 37: #define _LOW_TRACE_H_ ! 38: ! 39: typedef struct LowTraceRecord { ! 40: ! 41: unsigned short LTR_cpu; /* 0000 - CPU address */ ! 42: unsigned short LTR_excpt; /* 0002 - Exception code */ ! 43: unsigned int LTR_timeHi; /* 0004 - High order time */ ! 44: unsigned int LTR_timeLo; /* 0008 - Low order time */ ! 45: unsigned int LTR_cr; /* 000C - CR */ ! 46: unsigned int LTR_srr0; /* 0010 - SRR0 */ ! 47: unsigned int LTR_srr1; /* 0014 - SRR1 */ ! 48: unsigned int LTR_dar; /* 0018 - DAR */ ! 49: unsigned int LTR_save; /* 001C - savearea */ ! 50: ! 51: unsigned int LTR_lr; /* 0020 - LR */ ! 52: unsigned int LTR_ctr; /* 0024 - CTR */ ! 53: unsigned int LTR_r0; /* 0028 - R0 */ ! 54: unsigned int LTR_r1; /* 002C - R1 */ ! 55: unsigned int LTR_r2; /* 0030 - R2 */ ! 56: unsigned int LTR_r3; /* 0034 - R3 */ ! 57: unsigned int LTR_r4; /* 0038 - R4 */ ! 58: unsigned int LTR_r5; /* 003C - R5 */ ! 59: ! 60: } LowTraceRecord; ! 61: ! 62: ! 63: #define CutTrace 0x80000000 ! 64: ! 65: extern unsigned int traceStart, traceEnd, traceCurr; ! 66: ! 67: ! 68: #endif /* ifndef _LOW_TRACE_H_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.