]> git.saurik.com Git - apple/libc.git/blob - ppc/sys/assym.h
Libc-391.1.21.tar.gz
[apple/libc.git] / ppc / sys / assym.h
1 /*
2 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23 #ifndef _ASSYM_H_
24 #define _ASSYM_H_
25 #define PCB_FLOAT_STATE 208
26 #define PCB_FS_F0 208
27 #define PCB_FS_F1 216
28 #define PCB_FS_F2 224
29 #define PCB_FS_F3 232
30 #define PCB_FS_F4 240
31 #define PCB_FS_F5 248
32 #define PCB_FS_F6 256
33 #define PCB_FS_F7 264
34 #define PCB_FS_F8 272
35 #define PCB_FS_F9 280
36 #define PCB_FS_F10 288
37 #define PCB_FS_F11 296
38 #define PCB_FS_F12 304
39 #define PCB_FS_F13 312
40 #define PCB_FS_F14 320
41 #define PCB_FS_F15 328
42 #define PCB_FS_F16 336
43 #define PCB_FS_F17 344
44 #define PCB_FS_F18 352
45 #define PCB_FS_F19 360
46 #define PCB_FS_F20 368
47 #define PCB_FS_F21 376
48 #define PCB_FS_F22 384
49 #define PCB_FS_F23 392
50 #define PCB_FS_F24 400
51 #define PCB_FS_F25 408
52 #define PCB_FS_F26 416
53 #define PCB_FS_F27 424
54 #define PCB_FS_F28 432
55 #define PCB_FS_F29 440
56 #define PCB_FS_F30 448
57 #define PCB_FS_F31 456
58 #define PCB_FS_FPSCR 464
59 #define PCB_SAVED_STATE 0
60 #define PCB_KSP 472
61 #define PCB_SR0 476
62 #define PCB_SIZE 480
63 #define SS_R0 8
64 #define SS_R1 12
65 #define SS_R2 16
66 #define SS_R3 20
67 #define SS_R4 24
68 #define SS_R5 28
69 #define SS_R6 32
70 #define SS_R7 36
71 #define SS_R8 40
72 #define SS_R9 44
73 #define SS_R10 48
74 #define SS_R11 52
75 #define SS_R12 56
76 #define SS_R13 60
77 #define SS_R14 64
78 #define SS_R15 68
79 #define SS_R16 72
80 #define SS_R17 76
81 #define SS_R18 80
82 #define SS_R19 84
83 #define SS_R20 88
84 #define SS_R21 92
85 #define SS_R22 96
86 #define SS_R23 100
87 #define SS_R24 104
88 #define SS_R25 108
89 #define SS_R26 112
90 #define SS_R27 116
91 #define SS_R28 120
92 #define SS_R29 124
93 #define SS_R30 128
94 #define SS_R31 132
95 #define SS_CR 136
96 #define SS_XER 140
97 #define SS_LR 144
98 #define SS_CTR 148
99 #define SS_SRR0 0
100 #define SS_SRR1 4
101 #define SS_MQ 152
102 #define SS_SR_COPYIN 160
103 #define SS_SIZE 176
104 #define PP_SAVE_CR 0
105 #define PP_SAVE_SRR0 4
106 #define PP_SAVE_SRR1 8
107 #define PP_SAVE_DAR 12
108 #define PP_SAVE_DSISR 16
109 #define PP_SAVE_SPRG0 20
110 #define PP_SAVE_SPRG1 24
111 #define PP_SAVE_SPRG2 28
112 #define PP_SAVE_SPRG3 32
113 #define PP_SAVE_EXCEPTION_TYPE 36
114 #define PP_CPU_DATA 52
115 #define PP_PHYS_EXCEPTION_HANDLERS 40
116 #define PP_VIRT_PER_PROC 44
117 #define PP_ACTIVE_STACKS 56
118 #define PP_NEED_AST 60
119 #define PP_FPU_PCB 64
120 #define KS_PCB 16276
121 #define KS_R1 16280
122 #define KS_R2 16284
123 #define KS_R13 16288
124 #define KS_LR 16364
125 #define KS_CR 16368
126 #define KS_SIZE 96
127 #define KSTK_SIZE 16372
128 #define THREAD_PCB 36
129 #define THREAD_KERNEL_STACK 40
130 #define THREAD_SWAPFUNC 48
131 #define THREAD_RECOVER 116
132 #define THREAD_TASK 12
133 #define TASK_VMMAP 8
134 #define TASK_MACH_EXC_PORT 96
135 #define VMMAP_PMAP 32
136 #define PMAP_SPACE 4
137 #define MACH_TRAP_OFFSET_POW2 4
138 #define MACH_TRAP_ARGC 0
139 #define MACH_TRAP_FUNCTION 4
140 #define HOST_SELF 0
141 #define CPU_ACTIVE_THREAD 0
142 #define FM_SIZE 56
143 #define ARG_SIZE 16
144 #define LA_SIZE 24
145 #define FM_BACKPTR 0
146 #define FM_LR_SAVE 8
147 #define FM_TOC_SAVE 20
148 #define RPA_SIZE 32
149 #define SPA_SIZE 16
150 #define FM_ARG0 56
151 #define FM_REDZONE 0
152
153 #define SIZEOF_SIGCATCH 4
154 #define SIGCATCH_HANDLER 0x00000000
155
156 #endif /* _ASSYM_H_ */