]> git.saurik.com Git - apple/libc.git/blob - ppc/sys/assym.h
49d8a8fe8ca92fd9e66f95b3cfad99dd03c21599
[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 * 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 #ifndef _ASSYM_H_
23 #define _ASSYM_H_
24 #define PCB_FLOAT_STATE 208
25 #define PCB_FS_F0 208
26 #define PCB_FS_F1 216
27 #define PCB_FS_F2 224
28 #define PCB_FS_F3 232
29 #define PCB_FS_F4 240
30 #define PCB_FS_F5 248
31 #define PCB_FS_F6 256
32 #define PCB_FS_F7 264
33 #define PCB_FS_F8 272
34 #define PCB_FS_F9 280
35 #define PCB_FS_F10 288
36 #define PCB_FS_F11 296
37 #define PCB_FS_F12 304
38 #define PCB_FS_F13 312
39 #define PCB_FS_F14 320
40 #define PCB_FS_F15 328
41 #define PCB_FS_F16 336
42 #define PCB_FS_F17 344
43 #define PCB_FS_F18 352
44 #define PCB_FS_F19 360
45 #define PCB_FS_F20 368
46 #define PCB_FS_F21 376
47 #define PCB_FS_F22 384
48 #define PCB_FS_F23 392
49 #define PCB_FS_F24 400
50 #define PCB_FS_F25 408
51 #define PCB_FS_F26 416
52 #define PCB_FS_F27 424
53 #define PCB_FS_F28 432
54 #define PCB_FS_F29 440
55 #define PCB_FS_F30 448
56 #define PCB_FS_F31 456
57 #define PCB_FS_FPSCR 464
58 #define PCB_SAVED_STATE 0
59 #define PCB_KSP 472
60 #define PCB_SR0 476
61 #define PCB_SIZE 480
62 #define SS_R0 8
63 #define SS_R1 12
64 #define SS_R2 16
65 #define SS_R3 20
66 #define SS_R4 24
67 #define SS_R5 28
68 #define SS_R6 32
69 #define SS_R7 36
70 #define SS_R8 40
71 #define SS_R9 44
72 #define SS_R10 48
73 #define SS_R11 52
74 #define SS_R12 56
75 #define SS_R13 60
76 #define SS_R14 64
77 #define SS_R15 68
78 #define SS_R16 72
79 #define SS_R17 76
80 #define SS_R18 80
81 #define SS_R19 84
82 #define SS_R20 88
83 #define SS_R21 92
84 #define SS_R22 96
85 #define SS_R23 100
86 #define SS_R24 104
87 #define SS_R25 108
88 #define SS_R26 112
89 #define SS_R27 116
90 #define SS_R28 120
91 #define SS_R29 124
92 #define SS_R30 128
93 #define SS_R31 132
94 #define SS_CR 136
95 #define SS_XER 140
96 #define SS_LR 144
97 #define SS_CTR 148
98 #define SS_SRR0 0
99 #define SS_SRR1 4
100 #define SS_MQ 152
101 #define SS_SR_COPYIN 160
102 #define SS_SIZE 176
103 #define PP_SAVE_CR 0
104 #define PP_SAVE_SRR0 4
105 #define PP_SAVE_SRR1 8
106 #define PP_SAVE_DAR 12
107 #define PP_SAVE_DSISR 16
108 #define PP_SAVE_SPRG0 20
109 #define PP_SAVE_SPRG1 24
110 #define PP_SAVE_SPRG2 28
111 #define PP_SAVE_SPRG3 32
112 #define PP_SAVE_EXCEPTION_TYPE 36
113 #define PP_CPU_DATA 52
114 #define PP_PHYS_EXCEPTION_HANDLERS 40
115 #define PP_VIRT_PER_PROC 44
116 #define PP_ACTIVE_STACKS 56
117 #define PP_NEED_AST 60
118 #define PP_FPU_PCB 64
119 #define KS_PCB 16276
120 #define KS_R1 16280
121 #define KS_R2 16284
122 #define KS_R13 16288
123 #define KS_LR 16364
124 #define KS_CR 16368
125 #define KS_SIZE 96
126 #define KSTK_SIZE 16372
127 #define THREAD_PCB 36
128 #define THREAD_KERNEL_STACK 40
129 #define THREAD_SWAPFUNC 48
130 #define THREAD_RECOVER 116
131 #define THREAD_TASK 12
132 #define TASK_VMMAP 8
133 #define TASK_MACH_EXC_PORT 96
134 #define VMMAP_PMAP 32
135 #define PMAP_SPACE 4
136 #define MACH_TRAP_OFFSET_POW2 4
137 #define MACH_TRAP_ARGC 0
138 #define MACH_TRAP_FUNCTION 4
139 #define HOST_SELF 0
140 #define CPU_ACTIVE_THREAD 0
141 #define FM_SIZE 56
142 #define ARG_SIZE 16
143 #define LA_SIZE 24
144 #define FM_BACKPTR 0
145 #define FM_LR_SAVE 8
146 #define FM_TOC_SAVE 20
147 #define RPA_SIZE 32
148 #define SPA_SIZE 16
149 #define FM_ARG0 56
150 #define FM_REDZONE 0
151
152 #define SIZEOF_SIGCATCH 4
153 #define SIGCATCH_HANDLER 0x00000000
154
155 #endif /* _ASSYM_H_ */