]>
git.saurik.com Git - apple/libc.git/blob - ppc/sys/assym.h
2 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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
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.
21 * @APPLE_LICENSE_HEADER_END@
25 #define PCB_FLOAT_STATE 208
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
102 #define SS_SR_COPYIN 160
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
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
134 #define TASK_MACH_EXC_PORT 96
135 #define VMMAP_PMAP 32
137 #define MACH_TRAP_OFFSET_POW2 4
138 #define MACH_TRAP_ARGC 0
139 #define MACH_TRAP_FUNCTION 4
141 #define CPU_ACTIVE_THREAD 0
147 #define FM_TOC_SAVE 20
153 #define SIZEOF_SIGCATCH 4
154 #define SIGCATCH_HANDLER 0x00000000
156 #endif /* _ASSYM_H_ */