xref: /titanic_53/usr/src/uts/i86pc/ml/offsets.in (revision 0baeff3d96eae184e775c1064f1836090446a7bf)
17c478bd9Sstevel@tonic-gate\
2*0baeff3dSrab\ Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
37c478bd9Sstevel@tonic-gate\ Use is subject to license terms.
47c478bd9Sstevel@tonic-gate\
57c478bd9Sstevel@tonic-gate\ CDDL HEADER START
67c478bd9Sstevel@tonic-gate\
77c478bd9Sstevel@tonic-gate\ The contents of this file are subject to the terms of the
87c478bd9Sstevel@tonic-gate\ Common Development and Distribution License, Version 1.0 only
97c478bd9Sstevel@tonic-gate\ (the "License").  You may not use this file except in compliance
107c478bd9Sstevel@tonic-gate\ with the License.
117c478bd9Sstevel@tonic-gate\
127c478bd9Sstevel@tonic-gate\ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
137c478bd9Sstevel@tonic-gate\ or http://www.opensolaris.org/os/licensing.
147c478bd9Sstevel@tonic-gate\ See the License for the specific language governing permissions
157c478bd9Sstevel@tonic-gate\ and limitations under the License.
167c478bd9Sstevel@tonic-gate\
177c478bd9Sstevel@tonic-gate\ When distributing Covered Code, include this CDDL HEADER in each
187c478bd9Sstevel@tonic-gate\ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
197c478bd9Sstevel@tonic-gate\ If applicable, add the following below this CDDL HEADER, with the
207c478bd9Sstevel@tonic-gate\ fields enclosed by brackets "[]" replaced with your own identifying
217c478bd9Sstevel@tonic-gate\ information: Portions Copyright [yyyy] [name of copyright owner]
227c478bd9Sstevel@tonic-gate\
237c478bd9Sstevel@tonic-gate\ CDDL HEADER END
247c478bd9Sstevel@tonic-gate\
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gate\
297c478bd9Sstevel@tonic-gate\ offsets.in: input file to produce assym.h using the ctfstabs program
307c478bd9Sstevel@tonic-gate\
317c478bd9Sstevel@tonic-gate
327c478bd9Sstevel@tonic-gate#ifndef	_GENASSYM
337c478bd9Sstevel@tonic-gate#define	_GENASSYM
347c478bd9Sstevel@tonic-gate#endif
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate#define	SIZES	1
377c478bd9Sstevel@tonic-gate
387c478bd9Sstevel@tonic-gate#include <sys/types.h>
397c478bd9Sstevel@tonic-gate#include <sys/bootsvcs.h>
407c478bd9Sstevel@tonic-gate#include <sys/systm.h>
417c478bd9Sstevel@tonic-gate#include <sys/sysinfo.h>
427c478bd9Sstevel@tonic-gate#include <sys/user.h>
437c478bd9Sstevel@tonic-gate#include <sys/thread.h>
447c478bd9Sstevel@tonic-gate#include <sys/proc.h>
457c478bd9Sstevel@tonic-gate#include <sys/cpuvar.h>
467c478bd9Sstevel@tonic-gate#include <sys/tss.h>
477c478bd9Sstevel@tonic-gate#include <sys/privregs.h>
487c478bd9Sstevel@tonic-gate#include <sys/segments.h>
497c478bd9Sstevel@tonic-gate#include <sys/devops.h>
507c478bd9Sstevel@tonic-gate#include <sys/ddi_impldefs.h>
517c478bd9Sstevel@tonic-gate#include <vm/as.h>
527c478bd9Sstevel@tonic-gate#include <sys/avintr.h>
537c478bd9Sstevel@tonic-gate#include <sys/pic.h>
547c478bd9Sstevel@tonic-gate#include <sys/rm_platter.h>
557c478bd9Sstevel@tonic-gate#include <sys/stream.h>
567c478bd9Sstevel@tonic-gate#include <sys/strsubr.h>
577c478bd9Sstevel@tonic-gate#include <sys/sunddi.h>
587c478bd9Sstevel@tonic-gate#include <sys/modctl.h>
597c478bd9Sstevel@tonic-gate#include <sys/traptrace.h>
607c478bd9Sstevel@tonic-gate#include <sys/ontrap.h>
617c478bd9Sstevel@tonic-gate#include <sys/lgrp.h>
627c478bd9Sstevel@tonic-gate#include <sys/dtrace.h>
637c478bd9Sstevel@tonic-gate
647c478bd9Sstevel@tonic-gateproc		PROCSIZE
657c478bd9Sstevel@tonic-gate	p_link
667c478bd9Sstevel@tonic-gate	p_next
677c478bd9Sstevel@tonic-gate	p_child
687c478bd9Sstevel@tonic-gate	p_sibling
697c478bd9Sstevel@tonic-gate	p_sig
707c478bd9Sstevel@tonic-gate	p_flag
717c478bd9Sstevel@tonic-gate	p_tlist
727c478bd9Sstevel@tonic-gate	p_as
737c478bd9Sstevel@tonic-gate	p_lockp
747c478bd9Sstevel@tonic-gate	p_user
757c478bd9Sstevel@tonic-gate	p_ldt
767c478bd9Sstevel@tonic-gate	p_ldt_desc
777c478bd9Sstevel@tonic-gate	p_model
78*0baeff3dSrab	p_pctx
797c478bd9Sstevel@tonic-gate	p_agenttp
807c478bd9Sstevel@tonic-gate
817c478bd9Sstevel@tonic-gate_kthread	THREAD_SIZE
827c478bd9Sstevel@tonic-gate	t_pcb			T_LABEL
837c478bd9Sstevel@tonic-gate	t_lock
847c478bd9Sstevel@tonic-gate	t_lockstat
857c478bd9Sstevel@tonic-gate	t_lockp
867c478bd9Sstevel@tonic-gate	t_lock_flush
877c478bd9Sstevel@tonic-gate	t_kpri_req
887c478bd9Sstevel@tonic-gate	t_oldspl
897c478bd9Sstevel@tonic-gate	t_pri
907c478bd9Sstevel@tonic-gate	t_pil
917c478bd9Sstevel@tonic-gate	t_lwp
927c478bd9Sstevel@tonic-gate	t_procp
937c478bd9Sstevel@tonic-gate	t_link
947c478bd9Sstevel@tonic-gate	t_state
957c478bd9Sstevel@tonic-gate	t_mstate
967c478bd9Sstevel@tonic-gate	t_preempt_lk
977c478bd9Sstevel@tonic-gate	t_stk			T_STACK
987c478bd9Sstevel@tonic-gate	t_swap
997c478bd9Sstevel@tonic-gate	t_lwpchan.lc_wchan	T_WCHAN
1007c478bd9Sstevel@tonic-gate	t_flag			T_FLAGS
1017c478bd9Sstevel@tonic-gate	t_ctx
1027c478bd9Sstevel@tonic-gate	t_lofault
1037c478bd9Sstevel@tonic-gate	t_onfault
1047c478bd9Sstevel@tonic-gate	t_ontrap
1057c478bd9Sstevel@tonic-gate	t_cpu
1067c478bd9Sstevel@tonic-gate	t_lpl
1077c478bd9Sstevel@tonic-gate	t_bound_cpu
1087c478bd9Sstevel@tonic-gate	t_intr
1097c478bd9Sstevel@tonic-gate	t_forw
1107c478bd9Sstevel@tonic-gate	t_back
1117c478bd9Sstevel@tonic-gate	t_sig
1127c478bd9Sstevel@tonic-gate	t_tid
1137c478bd9Sstevel@tonic-gate	t_pre_sys
1147c478bd9Sstevel@tonic-gate	t_preempt
1157c478bd9Sstevel@tonic-gate	t_proc_flag
1167c478bd9Sstevel@tonic-gate	t_startpc
1177c478bd9Sstevel@tonic-gate	t_sysnum
1187c478bd9Sstevel@tonic-gate	t_intr_start
1197c478bd9Sstevel@tonic-gate	_tu._ts._t_astflag	T_ASTFLAG
1207c478bd9Sstevel@tonic-gate	_tu._ts._t_post_sys	T_POST_SYS
1217c478bd9Sstevel@tonic-gate	_tu._t_post_sys_ast	T_POST_SYS_AST
1227c478bd9Sstevel@tonic-gate	t_copyops
1237c478bd9Sstevel@tonic-gate
1247c478bd9Sstevel@tonic-gatectxop
1257c478bd9Sstevel@tonic-gate	save_op			CTXOP_SAVE
1267c478bd9Sstevel@tonic-gate
1277c478bd9Sstevel@tonic-gateas
1287c478bd9Sstevel@tonic-gate	a_hat
1297c478bd9Sstevel@tonic-gate
1307c478bd9Sstevel@tonic-gateuser	USIZEBYTES
1317c478bd9Sstevel@tonic-gate	u_comm
1327c478bd9Sstevel@tonic-gate	u_signal
1337c478bd9Sstevel@tonic-gate
1347c478bd9Sstevel@tonic-gate_label_t
1357c478bd9Sstevel@tonic-gate	val	LABEL_VAL
1367c478bd9Sstevel@tonic-gate
1377c478bd9Sstevel@tonic-gate\#define	LABEL_PC	LABEL_VAL
1387c478bd9Sstevel@tonic-gate\#define	LABEL_SP	_CONST(LABEL_VAL + LABEL_VAL_INCR)
1397c478bd9Sstevel@tonic-gate\#define	T_PC		_CONST(T_LABEL + LABEL_PC)
1407c478bd9Sstevel@tonic-gate\#define	T_SP		_CONST(T_LABEL + LABEL_SP)
1417c478bd9Sstevel@tonic-gate
1427c478bd9Sstevel@tonic-gate_klwp
1437c478bd9Sstevel@tonic-gate	lwp_thread
1447c478bd9Sstevel@tonic-gate	lwp_procp
1457c478bd9Sstevel@tonic-gate	lwp_eosys
1467c478bd9Sstevel@tonic-gate	lwp_regs
1477c478bd9Sstevel@tonic-gate	lwp_arg
1487c478bd9Sstevel@tonic-gate	lwp_ap
1497c478bd9Sstevel@tonic-gate	lwp_cursig
1507c478bd9Sstevel@tonic-gate	lwp_state
1517c478bd9Sstevel@tonic-gate	lwp_mstate.ms_acct	LWP_MS_ACCT
1527c478bd9Sstevel@tonic-gate	lwp_mstate.ms_prev	LWP_MS_PREV
1537c478bd9Sstevel@tonic-gate	lwp_mstate.ms_start	LWP_MS_START
1547c478bd9Sstevel@tonic-gate	lwp_mstate.ms_state_start LWP_MS_STATE_START
1557c478bd9Sstevel@tonic-gate	lwp_pcb
1567c478bd9Sstevel@tonic-gate	lwp_ru.sysc		LWP_RU_SYSC
1577c478bd9Sstevel@tonic-gate
1587c478bd9Sstevel@tonic-gate\#define	LWP_ACCT_USER	_CONST(LWP_MS_ACCT + _MUL(LMS_USER, LWP_MS_ACCT_INCR))
1597c478bd9Sstevel@tonic-gate\#define	LWP_ACCT_SYSTEM	_CONST(LWP_MS_ACCT + _MUL(LMS_SYSTEM, LWP_MS_ACCT_INCR))
1607c478bd9Sstevel@tonic-gate
1617c478bd9Sstevel@tonic-gatefpu_ctx
1627c478bd9Sstevel@tonic-gate	fpu_regs		FPU_CTX_FPU_REGS
1637c478bd9Sstevel@tonic-gate	fpu_flags		FPU_CTX_FPU_FLAGS
1647c478bd9Sstevel@tonic-gate
1657c478bd9Sstevel@tonic-gatefxsave_state	FXSAVE_STATE_SIZE
1667c478bd9Sstevel@tonic-gate	fx_mxcsr_mask		FXSAVE_STATE_MXCSR_MASK
1677c478bd9Sstevel@tonic-gate
1687c478bd9Sstevel@tonic-gate
1697c478bd9Sstevel@tonic-gateautovec		AUTOVECSIZE
1707c478bd9Sstevel@tonic-gate	av_vector
1717c478bd9Sstevel@tonic-gate	av_intarg1
1727c478bd9Sstevel@tonic-gate	av_intarg2
1737a364d25Sschwartz	av_ticksp
1747c478bd9Sstevel@tonic-gate	av_link
1757c478bd9Sstevel@tonic-gate	av_prilevel
1767c478bd9Sstevel@tonic-gate	av_dip
1777c478bd9Sstevel@tonic-gate
1787c478bd9Sstevel@tonic-gateav_head
1797c478bd9Sstevel@tonic-gate	avh_link
1807c478bd9Sstevel@tonic-gate	avh_hi_pri
1817c478bd9Sstevel@tonic-gate	avh_lo_pri
1827c478bd9Sstevel@tonic-gate
1837c478bd9Sstevel@tonic-gatecpu
1847c478bd9Sstevel@tonic-gate	cpu_id
1857c478bd9Sstevel@tonic-gate	cpu_flags
1867c478bd9Sstevel@tonic-gate	cpu_self
1877c478bd9Sstevel@tonic-gate	cpu_thread
1887c478bd9Sstevel@tonic-gate	cpu_thread_lock
1897c478bd9Sstevel@tonic-gate	cpu_kprunrun
1907c478bd9Sstevel@tonic-gate	cpu_lwp
1917c478bd9Sstevel@tonic-gate	cpu_fpowner
1927c478bd9Sstevel@tonic-gate	cpu_idle_thread
1937c478bd9Sstevel@tonic-gate	cpu_intr_thread
1947c478bd9Sstevel@tonic-gate	cpu_intr_actv
1957c478bd9Sstevel@tonic-gate	cpu_base_spl
1967c478bd9Sstevel@tonic-gate	cpu_intr_stack
1977c478bd9Sstevel@tonic-gate	cpu_stats.sys.cpumigrate	CPU_STATS_SYS_CPUMIGRATE
1987c478bd9Sstevel@tonic-gate	cpu_stats.sys.intr		CPU_STATS_SYS_INTR
1997c478bd9Sstevel@tonic-gate	cpu_stats.sys.intrblk		CPU_STATS_SYS_INTRBLK
2007c478bd9Sstevel@tonic-gate	cpu_stats.sys.syscall		CPU_STATS_SYS_SYSCALL
2017c478bd9Sstevel@tonic-gate	cpu_profile_pc
2027c478bd9Sstevel@tonic-gate	cpu_profile_upc
2037c478bd9Sstevel@tonic-gate	cpu_profile_pil
2047c478bd9Sstevel@tonic-gate	cpu_ftrace.ftd_state		CPU_FTRACE_STATE
205eda89462Sesolom	cpu_mstate
206eda89462Sesolom	cpu_intracct
2077c478bd9Sstevel@tonic-gate
2087c478bd9Sstevel@tonic-gate\#define	CPU_INTR_ACTV_REF	_CONST(CPU_INTR_ACTV + 2)
2097c478bd9Sstevel@tonic-gate
2107c478bd9Sstevel@tonic-gatecpu
2117c478bd9Sstevel@tonic-gate	cpu_m.pil_high_start	CPU_PIL_HIGH_START
2127c478bd9Sstevel@tonic-gate	cpu_m.intrstat		CPU_INTRSTAT
2137c478bd9Sstevel@tonic-gate	cpu_m.mcpu_current_hat	CPU_CURRENT_HAT
2147c478bd9Sstevel@tonic-gate	cpu_m.mcpu_gdt		CPU_GDT
2157c478bd9Sstevel@tonic-gate	cpu_m.mcpu_idt		CPU_IDT
2167c478bd9Sstevel@tonic-gate	cpu_m.mcpu_tss		CPU_TSS
2177c478bd9Sstevel@tonic-gate	cpu_m.mcpu_softinfo	CPU_SOFTINFO
2187c478bd9Sstevel@tonic-gate	cpu_m.mcpu_pri		CPU_PRI
2197c478bd9Sstevel@tonic-gate	cpu_m.mcpu_pri_data	CPU_PRI_DATA
2207c478bd9Sstevel@tonic-gate
2217c478bd9Sstevel@tonic-gatemachcpu
2227c478bd9Sstevel@tonic-gate	mcpu_pri_data	MCPU_PRI_DATA
2237c478bd9Sstevel@tonic-gate
2247c478bd9Sstevel@tonic-gatestandard_pic
2257c478bd9Sstevel@tonic-gate	c_curmask
2267c478bd9Sstevel@tonic-gate	c_iplmask
2277c478bd9Sstevel@tonic-gate
2287c478bd9Sstevel@tonic-gateddi_dma_impl
2297c478bd9Sstevel@tonic-gate	dmai_rflags
2307c478bd9Sstevel@tonic-gate	dmai_rdip
2317c478bd9Sstevel@tonic-gate
2327c478bd9Sstevel@tonic-gatedev_info
2337c478bd9Sstevel@tonic-gate	devi_ops		DEVI_DEV_OPS
2347c478bd9Sstevel@tonic-gate	devi_bus_ctl
2357c478bd9Sstevel@tonic-gate	devi_bus_dma_map
2367c478bd9Sstevel@tonic-gate	devi_bus_dma_ctl
2377c478bd9Sstevel@tonic-gate	devi_bus_dma_allochdl
2387c478bd9Sstevel@tonic-gate	devi_bus_dma_freehdl
2397c478bd9Sstevel@tonic-gate	devi_bus_dma_bindhdl
2407c478bd9Sstevel@tonic-gate	devi_bus_dma_unbindhdl
2417c478bd9Sstevel@tonic-gate	devi_bus_dma_flush
2427c478bd9Sstevel@tonic-gate	devi_bus_dma_win
2437c478bd9Sstevel@tonic-gate
2447c478bd9Sstevel@tonic-gatedev_ops
2457c478bd9Sstevel@tonic-gate	devo_bus_ops		DEVI_BUS_OPS
2467c478bd9Sstevel@tonic-gate
2477c478bd9Sstevel@tonic-gatebus_ops
2487c478bd9Sstevel@tonic-gate	bus_ctl			OPS_CTL
2497c478bd9Sstevel@tonic-gate	bus_dma_map		OPS_MAP
2507c478bd9Sstevel@tonic-gate	bus_dma_ctl		OPS_MCTL
2517c478bd9Sstevel@tonic-gate	bus_dma_allochdl	OPS_ALLOCHDL
2527c478bd9Sstevel@tonic-gate	bus_dma_freehdl		OPS_FREEHDL
2537c478bd9Sstevel@tonic-gate	bus_dma_bindhdl		OPS_BINDHDL
2547c478bd9Sstevel@tonic-gate	bus_dma_unbindhdl	OPS_UNBINDHDL
2557c478bd9Sstevel@tonic-gate	bus_dma_flush		OPS_FLUSH
2567c478bd9Sstevel@tonic-gate	bus_dma_win		OPS_WIN
2577c478bd9Sstevel@tonic-gate
2587c478bd9Sstevel@tonic-gatesysent	SYSENT_SIZE	SYSENT_SIZE_SHIFT
2597c478bd9Sstevel@tonic-gate	sy_callc
2607c478bd9Sstevel@tonic-gate	sy_flags
2617c478bd9Sstevel@tonic-gate	sy_narg
2627c478bd9Sstevel@tonic-gate
2637c478bd9Sstevel@tonic-gatestdata
2647c478bd9Sstevel@tonic-gate	sd_lock
2657c478bd9Sstevel@tonic-gate
2667c478bd9Sstevel@tonic-gatequeue
2677c478bd9Sstevel@tonic-gate	q_flag
2687c478bd9Sstevel@tonic-gate	q_next
2697c478bd9Sstevel@tonic-gate	q_stream
2707c478bd9Sstevel@tonic-gate	q_syncq
2717c478bd9Sstevel@tonic-gate	q_qinfo
2727c478bd9Sstevel@tonic-gate
2737c478bd9Sstevel@tonic-gateqinit
2747c478bd9Sstevel@tonic-gate	qi_putp
2757c478bd9Sstevel@tonic-gate
2767c478bd9Sstevel@tonic-gatesyncq
2777c478bd9Sstevel@tonic-gate	sq_flags
2787c478bd9Sstevel@tonic-gate	sq_count
2797c478bd9Sstevel@tonic-gate	sq_lock
2807c478bd9Sstevel@tonic-gate	sq_wait
2817c478bd9Sstevel@tonic-gate
2827c478bd9Sstevel@tonic-gaterm_platter
2837c478bd9Sstevel@tonic-gate	rm_idt_lim		IDTROFF
2847c478bd9Sstevel@tonic-gate	rm_gdt_lim		GDTROFF
2857c478bd9Sstevel@tonic-gate	rm_pdbr			CR3OFF
2867c478bd9Sstevel@tonic-gate	rm_cpu			CPUNOFF
2877c478bd9Sstevel@tonic-gate	rm_cr4			CR4OFF
2887c478bd9Sstevel@tonic-gate	rm_x86feature		X86FEATURE
2897c478bd9Sstevel@tonic-gate
2907c478bd9Sstevel@tonic-gatecpu_tables
2917c478bd9Sstevel@tonic-gate	ct_stack
2927c478bd9Sstevel@tonic-gate	ct_gdt
2937c478bd9Sstevel@tonic-gate
2947c478bd9Sstevel@tonic-gate\#define	DEFAULTSTKSZ	_CONST(CT_GDT - CT_STACK)
2957c478bd9Sstevel@tonic-gate
2967c478bd9Sstevel@tonic-gateddi_acc_impl
2977c478bd9Sstevel@tonic-gate	ahi_acc_attr	ACC_ATTR
2987c478bd9Sstevel@tonic-gate	ahi_get8	ACC_GETB
2997c478bd9Sstevel@tonic-gate	ahi_get16	ACC_GETW
3007c478bd9Sstevel@tonic-gate	ahi_get32	ACC_GETL
3017c478bd9Sstevel@tonic-gate	ahi_get64	ACC_GETLL
3027c478bd9Sstevel@tonic-gate	ahi_put8	ACC_PUTB
3037c478bd9Sstevel@tonic-gate	ahi_put16	ACC_PUTW
3047c478bd9Sstevel@tonic-gate	ahi_put32	ACC_PUTL
3057c478bd9Sstevel@tonic-gate	ahi_put64	ACC_PUTLL
3067c478bd9Sstevel@tonic-gate	ahi_rep_get8	ACC_REP_GETB
3077c478bd9Sstevel@tonic-gate	ahi_rep_get16	ACC_REP_GETW
3087c478bd9Sstevel@tonic-gate	ahi_rep_get32	ACC_REP_GETL
3097c478bd9Sstevel@tonic-gate	ahi_rep_get64	ACC_REP_GETLL
3107c478bd9Sstevel@tonic-gate	ahi_rep_put8	ACC_REP_PUTB
3117c478bd9Sstevel@tonic-gate	ahi_rep_put16	ACC_REP_PUTW
3127c478bd9Sstevel@tonic-gate	ahi_rep_put32	ACC_REP_PUTL
3137c478bd9Sstevel@tonic-gate	ahi_rep_put64	ACC_REP_PUTLL
3147c478bd9Sstevel@tonic-gate
3157c478bd9Sstevel@tonic-gateon_trap_data
3167c478bd9Sstevel@tonic-gate	ot_prot
3177c478bd9Sstevel@tonic-gate	ot_trap
3187c478bd9Sstevel@tonic-gate	ot_trampoline
3197c478bd9Sstevel@tonic-gate	ot_jmpbuf
3207c478bd9Sstevel@tonic-gate	ot_prev
3217c478bd9Sstevel@tonic-gate	ot_handle
3227c478bd9Sstevel@tonic-gate	ot_pad1
3237c478bd9Sstevel@tonic-gate
3247c478bd9Sstevel@tonic-gatetrap_trace_ctl_t	__TRAPTR_SIZE TRAPTR_SIZE_SHIFT
3257c478bd9Sstevel@tonic-gate	ttc_next	TRAPTR_NEXT
3267c478bd9Sstevel@tonic-gate	ttc_first	TRAPTR_FIRST
3277c478bd9Sstevel@tonic-gate	ttc_limit	TRAPTR_LIMIT
3287c478bd9Sstevel@tonic-gate
3297c478bd9Sstevel@tonic-gatetrap_trace_rec_t	TRAP_ENT_SIZE
3307c478bd9Sstevel@tonic-gate	ttr_cr2
3317c478bd9Sstevel@tonic-gate	ttr_info.idt_entry.vector	TTR_VECTOR
3327c478bd9Sstevel@tonic-gate	ttr_info.idt_entry.ipl		TTR_IPL
3337c478bd9Sstevel@tonic-gate	ttr_info.idt_entry.spl		TTR_SPL
3347c478bd9Sstevel@tonic-gate	ttr_info.idt_entry.pri		TTR_PRI
3357c478bd9Sstevel@tonic-gate	ttr_info.gate_entry.sysnum	TTR_SYSNUM
3367c478bd9Sstevel@tonic-gate	ttr_marker
3377c478bd9Sstevel@tonic-gate	ttr_stamp
3387c478bd9Sstevel@tonic-gate	ttr_curthread
3397c478bd9Sstevel@tonic-gate	ttr_sdepth
3407c478bd9Sstevel@tonic-gate	ttr_stack
3417c478bd9Sstevel@tonic-gate
3427c478bd9Sstevel@tonic-gatelgrp_ld
3437c478bd9Sstevel@tonic-gate	lpl_lgrpid
3447c478bd9Sstevel@tonic-gate
3457c478bd9Sstevel@tonic-gatedtrace_id_t	DTRACE_IDSIZE
3467c478bd9Sstevel@tonic-gate
3477c478bd9Sstevel@tonic-gatecpu_core	CPU_CORE_SIZE	CPU_CORE_SHIFT
3487c478bd9Sstevel@tonic-gate	cpuc_dtrace_flags
3497c478bd9Sstevel@tonic-gate	cpuc_dtrace_illval
3507c478bd9Sstevel@tonic-gate
3517c478bd9Sstevel@tonic-gatetimespec	TIMESPEC_SIZE
3527c478bd9Sstevel@tonic-gate
3537c478bd9Sstevel@tonic-gategate_desc	GATE_DESC_SIZE
3547c478bd9Sstevel@tonic-gate
3557c478bd9Sstevel@tonic-gatedesctbr_t	DESCTBR_SIZE
3567c478bd9Sstevel@tonic-gate	dtr_limit
3577c478bd9Sstevel@tonic-gate	dtr_base
3587c478bd9Sstevel@tonic-gate
3597c478bd9Sstevel@tonic-gatemod_stub_info	MODS_SIZE
3607c478bd9Sstevel@tonic-gate	mods_func_adr	MODS_INSTFCN
3617c478bd9Sstevel@tonic-gate	mods_errfcn	MODS_RETFCN
3627c478bd9Sstevel@tonic-gate	mods_flag
3637c478bd9Sstevel@tonic-gate
3647c478bd9Sstevel@tonic-gate\#define	TRAP_TSIZE		_MUL(TRAP_ENT_SIZE, TRAPTR_NENT)
3657c478bd9Sstevel@tonic-gate
3667c478bd9Sstevel@tonic-gatecopyops
3677c478bd9Sstevel@tonic-gate	cp_copyin
3687c478bd9Sstevel@tonic-gate	cp_xcopyin
3697c478bd9Sstevel@tonic-gate	cp_copyout
3707c478bd9Sstevel@tonic-gate	cp_xcopyout
3717c478bd9Sstevel@tonic-gate	cp_copyinstr
3727c478bd9Sstevel@tonic-gate	cp_copyoutstr
3737c478bd9Sstevel@tonic-gate	cp_fuword8
3747c478bd9Sstevel@tonic-gate	cp_fuword16
3757c478bd9Sstevel@tonic-gate	cp_fuword32
3767c478bd9Sstevel@tonic-gate	cp_fuword64
3777c478bd9Sstevel@tonic-gate	cp_suword8
3787c478bd9Sstevel@tonic-gate	cp_suword16
3797c478bd9Sstevel@tonic-gate	cp_suword32
3807c478bd9Sstevel@tonic-gate	cp_suword64
3817c478bd9Sstevel@tonic-gate	cp_physio
382