2 \ Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3 \ Use is subject to license terms.
7 \ The contents of this file are subject to the terms of the
8 \ Common Development and Distribution License (the "License").
9 \ You may not use this file except in compliance with the License.
11 \ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 \ or http://www.opensolaris.org/os/licensing.
13 \ See the License for the specific language governing permissions
14 \ and limitations under the License.
16 \ When distributing Covered Code, include this CDDL HEADER in each
17 \ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18 \ If applicable, add the following below this CDDL HEADER, with the
19 \ fields enclosed by brackets "[]" replaced with your own identifying
20 \ information: Portions Copyright [yyyy] [name of copyright owner]
24 \ Copyright 2011 Joyent, Inc. All rights reserved.
28 \ offsets.in: input file to produce assym.h using the ctfstabs program
39 \ XXPV This seems to need to be first to avoid a namespace collision
40 \ with another header file in the list below.
42 #include <sys/hypervisor.h>
45 #include <sys/types.h>
46 #include <sys/bootsvcs.h>
47 #include <sys/systm.h>
48 #include <sys/sysinfo.h>
50 #include <sys/thread.h>
52 #include <sys/cpuvar.h>
54 #include <sys/privregs.h>
55 #include <sys/segments.h>
56 #include <sys/devops.h>
57 #include <sys/ddi_impldefs.h>
59 #include <sys/avintr.h>
61 #include <sys/rm_platter.h>
62 #include <sys/stream.h>
63 #include <sys/strsubr.h>
64 #include <sys/sunddi.h>
65 #include <sys/traptrace.h>
66 #include <sys/ontrap.h>
68 #include <sys/dtrace.h>
85 r_trapno REGOFF_TRAPNO
93 \#define REGOFF_PC REGOFF_EIP
117 \#define LABEL_EBP _CONST(_MUL(2, LABEL_VAL_INCR) + LABEL_VAL)
118 \#define LABEL_EBX _CONST(_MUL(3, LABEL_VAL_INCR) + LABEL_VAL)
119 \#define LABEL_ESI _CONST(_MUL(4, LABEL_VAL_INCR) + LABEL_VAL)
120 \#define LABEL_EDI _CONST(_MUL(5, LABEL_VAL_INCR) + LABEL_VAL)
121 \#define T_EBP _CONST(T_LABEL + LABEL_EBP)
122 \#define T_EBX _CONST(T_LABEL + LABEL_EBX)
123 \#define T_ESI _CONST(T_LABEL + LABEL_ESI)
124 \#define T_EDI _CONST(T_LABEL + LABEL_EDI)
127 lwp_pcb.pcb_fsdesc LWP_PCB_FSDESC
128 lwp_pcb.pcb_gsdesc LWP_PCB_GSDESC
129 lwp_pcb.pcb_drstat LWP_PCB_DRSTAT
130 lwp_pcb.pcb_flags PCB_FLAGS
131 lwp_pcb.pcb_fpu LWP_PCB_FPU
132 lwp_pcb.pcb_fpu.fpu_regs LWP_FPU_REGS
133 lwp_pcb.pcb_fpu.fpu_flags LWP_FPU_FLAGS
134 lwp_pcb.pcb_fpu.fpu_regs.kfpu_u.kfpu_fx LWP_FPU_CHIP_STATE
140 pcb_fpu.fpu_regs PCB_FPU_REGS
141 pcb_fpu.fpu_flags PCB_FPU_FLAGS
146 evtchn_upcall_pending VCPU_INFO_EVTCHN_UPCALL_PENDING
147 evtchn_upcall_mask VCPU_INFO_EVTCHN_UPCALL_MASK
148 arch.cr2 VCPU_INFO_ARCH_CR2