17c478bd9Sstevel@tonic-gate\ offsets.in: input file to produce assym.h using the stabs program 2*1e2e7a75Shuah\ 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 8*1e2e7a75Shuah\ Common Development and Distribution License (the "License"). 9*1e2e7a75Shuah\ You may not use this file except in compliance with the License. 107c478bd9Sstevel@tonic-gate\ 117c478bd9Sstevel@tonic-gate\ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 127c478bd9Sstevel@tonic-gate\ or http://www.opensolaris.org/os/licensing. 137c478bd9Sstevel@tonic-gate\ See the License for the specific language governing permissions 147c478bd9Sstevel@tonic-gate\ and limitations under the License. 157c478bd9Sstevel@tonic-gate\ 167c478bd9Sstevel@tonic-gate\ When distributing Covered Code, include this CDDL HEADER in each 177c478bd9Sstevel@tonic-gate\ file and include the License file at usr/src/OPENSOLARIS.LICENSE. 187c478bd9Sstevel@tonic-gate\ If applicable, add the following below this CDDL HEADER, with the 197c478bd9Sstevel@tonic-gate\ fields enclosed by brackets "[]" replaced with your own identifying 207c478bd9Sstevel@tonic-gate\ information: Portions Copyright [yyyy] [name of copyright owner] 217c478bd9Sstevel@tonic-gate\ 227c478bd9Sstevel@tonic-gate\ CDDL HEADER END 237c478bd9Sstevel@tonic-gate\ 247c478bd9Sstevel@tonic-gate\ 257c478bd9Sstevel@tonic-gate\ 267c478bd9Sstevel@tonic-gate\ Guidelines: 277c478bd9Sstevel@tonic-gate\ 287c478bd9Sstevel@tonic-gate\ A blank line is required between structure/union/intrinsic names. 297c478bd9Sstevel@tonic-gate\ 307c478bd9Sstevel@tonic-gate\ The general form is: 317c478bd9Sstevel@tonic-gate\ 327c478bd9Sstevel@tonic-gate\ name size_define [shift_define] 337c478bd9Sstevel@tonic-gate\ member_name [offset_define] 347c478bd9Sstevel@tonic-gate\ {blank line} 357c478bd9Sstevel@tonic-gate\ 367c478bd9Sstevel@tonic-gate\ If offset_define is not specified then the member_name is 377c478bd9Sstevel@tonic-gate\ converted to all caps and used instead. If the size of an item is 387c478bd9Sstevel@tonic-gate\ a power of two then an optional shift count may be output using 397c478bd9Sstevel@tonic-gate\ shift_define as the name but only if shift_define was specified. 407c478bd9Sstevel@tonic-gate\ 417c478bd9Sstevel@tonic-gate\ Arrays cause stabs to automatically output the per-array-item increment 427c478bd9Sstevel@tonic-gate\ in addition to the base address: 437c478bd9Sstevel@tonic-gate\ 447c478bd9Sstevel@tonic-gate\ foo FOO_SIZE 457c478bd9Sstevel@tonic-gate\ array FOO_ARRAY 467c478bd9Sstevel@tonic-gate\ 477c478bd9Sstevel@tonic-gate\ results in: 487c478bd9Sstevel@tonic-gate\ 497c478bd9Sstevel@tonic-gate\ #define FOO_ARRAY 0x0 507c478bd9Sstevel@tonic-gate\ #define FOO_ARRAY_INCR 0x4 517c478bd9Sstevel@tonic-gate\ 527c478bd9Sstevel@tonic-gate\ which allows \#define's to be used to specify array items: 537c478bd9Sstevel@tonic-gate\ 547c478bd9Sstevel@tonic-gate\ #define FOO_0 (FOO_ARRAY + (0 * FOO_ARRAY_INCR)) 557c478bd9Sstevel@tonic-gate\ #define FOO_1 (FOO_ARRAY + (1 * FOO_ARRAY_INCR)) 567c478bd9Sstevel@tonic-gate\ ... 577c478bd9Sstevel@tonic-gate\ #define FOO_n (FOO_ARRAY + (n * FOO_ARRAY_INCR)) 587c478bd9Sstevel@tonic-gate\ 597c478bd9Sstevel@tonic-gate\ There are several examples below (search for _INCR). 607c478bd9Sstevel@tonic-gate\ 617c478bd9Sstevel@tonic-gate\ There is currently no manner in which to identify "anonymous" 627c478bd9Sstevel@tonic-gate\ structures or unions so if they are to be used in assembly code 637c478bd9Sstevel@tonic-gate\ they must be given names. 647c478bd9Sstevel@tonic-gate\ 657c478bd9Sstevel@tonic-gate\ When specifying the offsets of nested structures/unions each nested 667c478bd9Sstevel@tonic-gate\ structure or union must be listed separately then use the 677c478bd9Sstevel@tonic-gate\ "\#define" escapes to add the offsets from the base structure/union 687c478bd9Sstevel@tonic-gate\ and all of the nested structures/unions together. See the many 697c478bd9Sstevel@tonic-gate\ examples already in this file. 707c478bd9Sstevel@tonic-gate 717c478bd9Sstevel@tonic-gate#pragma ident "%Z%%M% %I% %E% SMI" 727c478bd9Sstevel@tonic-gate 737c478bd9Sstevel@tonic-gate#ifndef _GENASSYM 747c478bd9Sstevel@tonic-gate#define _GENASSYM 757c478bd9Sstevel@tonic-gate#endif 767c478bd9Sstevel@tonic-gate 777c478bd9Sstevel@tonic-gate#define SIZES 1 787c478bd9Sstevel@tonic-gate 797c478bd9Sstevel@tonic-gate#include <sys/vmmeter.h> 807c478bd9Sstevel@tonic-gate#include <sys/mutex_impl.h> 817c478bd9Sstevel@tonic-gate#include <sys/lockstat.h> 827c478bd9Sstevel@tonic-gate#include <sys/ddi_isa.h> 837c478bd9Sstevel@tonic-gate#include <sys/ivintr.h> 847c478bd9Sstevel@tonic-gate#include <sys/ddi_impldefs.h> 857c478bd9Sstevel@tonic-gate#include <vm/hat_sfmmu.h> 867c478bd9Sstevel@tonic-gate#include <sys/avintr.h> 877c478bd9Sstevel@tonic-gate#include <sys/strsubr.h> 887c478bd9Sstevel@tonic-gate#include <sys/dmv.h> 897c478bd9Sstevel@tonic-gate#include <sys/fpu/fpu_simulator.h> 907c478bd9Sstevel@tonic-gate#include <sys/ontrap.h> 917c478bd9Sstevel@tonic-gate#include <sys/lgrp.h> 927c478bd9Sstevel@tonic-gate#include <sys/ddifm_impl.h> 937c478bd9Sstevel@tonic-gate 947c478bd9Sstevel@tonic-gategreg_t GREGSIZE 957c478bd9Sstevel@tonic-gate 967c478bd9Sstevel@tonic-gateuintptr_t LWP_ARG_SZ 977c478bd9Sstevel@tonic-gate 987c478bd9Sstevel@tonic-gateproc PROCSIZE 997c478bd9Sstevel@tonic-gate p_link 1007c478bd9Sstevel@tonic-gate p_next 1017c478bd9Sstevel@tonic-gate p_child 1027c478bd9Sstevel@tonic-gate p_sibling 1037c478bd9Sstevel@tonic-gate p_sig 1047c478bd9Sstevel@tonic-gate p_wcode 1057c478bd9Sstevel@tonic-gate p_flag 1067c478bd9Sstevel@tonic-gate p_tlist 1077c478bd9Sstevel@tonic-gate p_as 1087c478bd9Sstevel@tonic-gate p_lockp 1097c478bd9Sstevel@tonic-gate p_pidp 1107c478bd9Sstevel@tonic-gate p_fixalignment 1117c478bd9Sstevel@tonic-gate p_utraps 1127c478bd9Sstevel@tonic-gate 1137c478bd9Sstevel@tonic-gate\#define P_UTRAP4 (UT_ILLTRAP_INSTRUCTION * CPTRSIZE) 1147c478bd9Sstevel@tonic-gate\#define P_UTRAP7 (UT_FP_DISABLED * CPTRSIZE) 1157c478bd9Sstevel@tonic-gate\#define P_UTRAP8 (UT_FP_EXCEPTION_IEEE_754 * CPTRSIZE) 1167c478bd9Sstevel@tonic-gate\#define P_UTRAP10 (UT_TAG_OVERFLOW * CPTRSIZE) 1177c478bd9Sstevel@tonic-gate\#define P_UTRAP11 (UT_DIVISION_BY_ZERO * CPTRSIZE) 1187c478bd9Sstevel@tonic-gate\#define P_UTRAP15 (UT_MEM_ADDRESS_NOT_ALIGNED * CPTRSIZE) 1197c478bd9Sstevel@tonic-gate\#define P_UTRAP16 (UT_PRIVILEGED_ACTION * CPTRSIZE) 1207c478bd9Sstevel@tonic-gate 1217c478bd9Sstevel@tonic-gatepid PID_SIZE 1227c478bd9Sstevel@tonic-gate pid_id PID_PIDID 1237c478bd9Sstevel@tonic-gate 1247c478bd9Sstevel@tonic-gate_label_t LABEL_SIZE 1257c478bd9Sstevel@tonic-gate val LABEL_VAL 1267c478bd9Sstevel@tonic-gate 1277c478bd9Sstevel@tonic-gate_kthread THREAD_SIZE 1287c478bd9Sstevel@tonic-gate t_lock 1297c478bd9Sstevel@tonic-gate t_lock_flush 1307c478bd9Sstevel@tonic-gate t_lockp 1317c478bd9Sstevel@tonic-gate t_oldspl 1327c478bd9Sstevel@tonic-gate t_pri 1337c478bd9Sstevel@tonic-gate t_lwp 1347c478bd9Sstevel@tonic-gate t_procp 1357c478bd9Sstevel@tonic-gate t_link 1367c478bd9Sstevel@tonic-gate t_state 1377c478bd9Sstevel@tonic-gate t_mstate 1387c478bd9Sstevel@tonic-gate t_stk T_STACK 1397c478bd9Sstevel@tonic-gate t_swap 1407c478bd9Sstevel@tonic-gate t_flag T_FLAGS 1417c478bd9Sstevel@tonic-gate t_ctx 1427c478bd9Sstevel@tonic-gate t_pcb 1437c478bd9Sstevel@tonic-gate t_lofault 1447c478bd9Sstevel@tonic-gate t_onfault 1457c478bd9Sstevel@tonic-gate t_ontrap 1467c478bd9Sstevel@tonic-gate t_nomigrate 1477c478bd9Sstevel@tonic-gate t_cpu 1487c478bd9Sstevel@tonic-gate t_weakbound_cpu 1497c478bd9Sstevel@tonic-gate t_lpl 1507c478bd9Sstevel@tonic-gate t_bound_cpu 1517c478bd9Sstevel@tonic-gate t_intr 1527c478bd9Sstevel@tonic-gate t_forw 1537c478bd9Sstevel@tonic-gate t_back 1547c478bd9Sstevel@tonic-gate t_sig 1557c478bd9Sstevel@tonic-gate t_tid 1567c478bd9Sstevel@tonic-gate t_pre_sys 1577c478bd9Sstevel@tonic-gate t_preempt 1587c478bd9Sstevel@tonic-gate t_proc_flag 1597c478bd9Sstevel@tonic-gate t_startpc 1607c478bd9Sstevel@tonic-gate t_sysnum 1617c478bd9Sstevel@tonic-gate _tu._t_post_sys_ast T_POST_SYS_AST 1627c478bd9Sstevel@tonic-gate _tu._ts._t_astflag T_ASTFLAG 1637c478bd9Sstevel@tonic-gate _tu._ts._t_sig_check T_SIG_CHECK 1647c478bd9Sstevel@tonic-gate _tu._ts._t_post_sys T_POST_SYS 1657c478bd9Sstevel@tonic-gate _tu._ts._t_trapret T_TRAPRET 1667c478bd9Sstevel@tonic-gate t_preempt_lk 1677c478bd9Sstevel@tonic-gate t_kpri_req 1687c478bd9Sstevel@tonic-gate t_lockstat 1697c478bd9Sstevel@tonic-gate t_pil 1707c478bd9Sstevel@tonic-gate t_intr_start 1717c478bd9Sstevel@tonic-gate _tdu._tds._t_dtrace_on T_DTRACE_ON 1727c478bd9Sstevel@tonic-gate _tdu._tds._t_dtrace_step T_DTRACE_STEP 1737c478bd9Sstevel@tonic-gate _tdu._tds._t_dtrace_ret T_DTRACE_RET 1747c478bd9Sstevel@tonic-gate _tdu._tds._t_dtrace_ast T_DTRACE_AST 1757c478bd9Sstevel@tonic-gate _tdu._t_dtrace_ft T_DTRACE_FT 1767c478bd9Sstevel@tonic-gate t_dtrace_npc 1777c478bd9Sstevel@tonic-gate t_copyops 1787c478bd9Sstevel@tonic-gate 1797c478bd9Sstevel@tonic-gate\#define L_PC (0 * LABEL_VAL_INCR) 1807c478bd9Sstevel@tonic-gate\#define L_SP (1 * LABEL_VAL_INCR) 1817c478bd9Sstevel@tonic-gate 1827c478bd9Sstevel@tonic-gate\#define T_PC (T_PCB + L_PC) 1837c478bd9Sstevel@tonic-gate\#define T_SP (T_PCB + L_SP) 1847c478bd9Sstevel@tonic-gate 1857c478bd9Sstevel@tonic-gatesysent SYSENT_SIZE SYSENT_SHIFT 1867c478bd9Sstevel@tonic-gate sy_callc 1877c478bd9Sstevel@tonic-gate sy_flags 1887c478bd9Sstevel@tonic-gate 1897c478bd9Sstevel@tonic-gateas AS_SIZE 1907c478bd9Sstevel@tonic-gate a_hat 1917c478bd9Sstevel@tonic-gate a_userlimit 1927c478bd9Sstevel@tonic-gate 1937c478bd9Sstevel@tonic-gatehmehash_bucket HMEBUCK_SIZE 1947c478bd9Sstevel@tonic-gate hmeblkp HMEBUCK_HBLK 1957c478bd9Sstevel@tonic-gate hmeh_nextpa HMEBUCK_NEXTPA 1967c478bd9Sstevel@tonic-gate hmeh_listlock HMEBUCK_LOCK 1977c478bd9Sstevel@tonic-gate 1987c478bd9Sstevel@tonic-gatette_t TTE_SIZE 1997c478bd9Sstevel@tonic-gate ll TTE_LL 2007c478bd9Sstevel@tonic-gate 2017c478bd9Sstevel@tonic-gateism_blk ISMBLK_SIZE 2027c478bd9Sstevel@tonic-gate iblk_maps IBLK_MAPS 2037c478bd9Sstevel@tonic-gate iblk_next IBLK_NEXT 2047c478bd9Sstevel@tonic-gate iblk_nextpa IBLK_NEXTPA 2057c478bd9Sstevel@tonic-gate 2067c478bd9Sstevel@tonic-gateism_map_t ISM_MAP_SZ 2077c478bd9Sstevel@tonic-gate imap_seg IMAP_SEG 2087c478bd9Sstevel@tonic-gate imap_vb_shift IMAP_VB_SHIFT 2097c478bd9Sstevel@tonic-gate imap_hatflags IMAP_HATFLAGS 2107c478bd9Sstevel@tonic-gate imap_sz_mask IMAP_SZ_MASK 2117c478bd9Sstevel@tonic-gate imap_ismhat IMAP_ISMHAT 2127c478bd9Sstevel@tonic-gate 2137c478bd9Sstevel@tonic-gatetsbe TSBE_SIZE 2147c478bd9Sstevel@tonic-gate tte_tag TSBE_TAG 2157c478bd9Sstevel@tonic-gate tte_data TSBE_TTE 2167c478bd9Sstevel@tonic-gate 2177c478bd9Sstevel@tonic-gatetsb_tag TSBTAG_SIZE 2187c478bd9Sstevel@tonic-gate tagints.inthi TSBTAG_INTHI 2197c478bd9Sstevel@tonic-gate tagints.intlo TSBTAG_INTLO 2207c478bd9Sstevel@tonic-gate 2217c478bd9Sstevel@tonic-gatehme_blk HMEBLK_SIZE 2227c478bd9Sstevel@tonic-gate hblk_next HMEBLK_NEXT 2237c478bd9Sstevel@tonic-gate hblk_tag HMEBLK_TAG 2247c478bd9Sstevel@tonic-gate hblk_misc HMEBLK_MISC 2257c478bd9Sstevel@tonic-gate hblk_hme HMEBLK_HME1 2267c478bd9Sstevel@tonic-gate hblk_nextpa HMEBLK_NEXTPA 2277c478bd9Sstevel@tonic-gate 228*1e2e7a75Shuahmmu_ctx MMU_CTX_SIZE 229*1e2e7a75Shuah mmu_gnum MMU_CTX_GNUM 230*1e2e7a75Shuah mmu_cnum MMU_CTX_CNUM 231*1e2e7a75Shuah mmu_nctxs MMU_CTX_NCTXS 232*1e2e7a75Shuah 233*1e2e7a75Shuahsfmmu_ctx SFMMU_MMU_CTX_SIZE SFMMU_MMU_CTX_SHIFT 234*1e2e7a75Shuah gnum SFMMU_MMU_GC_NUM 235*1e2e7a75Shuah 2367c478bd9Sstevel@tonic-gateuser USIZEBYTES 2377c478bd9Sstevel@tonic-gate u_comm 2387c478bd9Sstevel@tonic-gate u_signal 2397c478bd9Sstevel@tonic-gate 2407c478bd9Sstevel@tonic-gate_klwp LWP_SIZE 2417c478bd9Sstevel@tonic-gate lwp_thread 2427c478bd9Sstevel@tonic-gate lwp_regs 2437c478bd9Sstevel@tonic-gate lwp_fpu 2447c478bd9Sstevel@tonic-gate lwp_arg 2457c478bd9Sstevel@tonic-gate lwp_cursig 2467c478bd9Sstevel@tonic-gate lwp_ru.sysc LWP_RU_SYSC 2477c478bd9Sstevel@tonic-gate lwp_state 2487c478bd9Sstevel@tonic-gate lwp_mstate.ms_start LWP_MS_START 2497c478bd9Sstevel@tonic-gate lwp_mstate.ms_prev LWP_MS_PREV 2507c478bd9Sstevel@tonic-gate lwp_mstate.ms_state_start LWP_STATE_START 2517c478bd9Sstevel@tonic-gate lwp_mstate.ms_acct LWP_MS_ACCT 2527c478bd9Sstevel@tonic-gate lwp_pcb.pcb_flags PCB_FLAGS 2537c478bd9Sstevel@tonic-gate lwp_pcb.pcb_trap0addr PCB_TRAP0 2547c478bd9Sstevel@tonic-gate lwp_pcb.pcb_step PCB_STEP 2557c478bd9Sstevel@tonic-gate lwp_pcb.pcb_tracepc PCB_TRACEPC 2567c478bd9Sstevel@tonic-gate 2577c478bd9Sstevel@tonic-gatemstate MSTATE_SIZE 2587c478bd9Sstevel@tonic-gate ms_start 2597c478bd9Sstevel@tonic-gate ms_prev 2607c478bd9Sstevel@tonic-gate ms_term 2617c478bd9Sstevel@tonic-gate ms_state_start 2627c478bd9Sstevel@tonic-gate ms_acct 2637c478bd9Sstevel@tonic-gate 2647c478bd9Sstevel@tonic-gate\#define LWP_ACCT_USER (LWP_MS_ACCT + (LMS_USER * LWP_MS_ACCT_INCR)) 2657c478bd9Sstevel@tonic-gate\#define LWP_ACCT_SYSTEM (LWP_MS_ACCT + (LMS_SYSTEM * LWP_MS_ACCT_INCR)) 2667c478bd9Sstevel@tonic-gate 2677c478bd9Sstevel@tonic-gaterwindow32 RWIN32SIZE RWIN32SHIFT 2687c478bd9Sstevel@tonic-gate rw_local RW32_LOCAL 2697c478bd9Sstevel@tonic-gate rw_in RW32_IN 2707c478bd9Sstevel@tonic-gate 2717c478bd9Sstevel@tonic-gaterwindow64 RWIN64SIZE RWIN64SHIFT 2727c478bd9Sstevel@tonic-gate rw_local RW64_LOCAL 2737c478bd9Sstevel@tonic-gate rw_in RW64_IN 2747c478bd9Sstevel@tonic-gate 2757c478bd9Sstevel@tonic-gatemachpcb MPCBSIZE 2767c478bd9Sstevel@tonic-gate mpcb_regs 2777c478bd9Sstevel@tonic-gate mpcb_wbuf 2787c478bd9Sstevel@tonic-gate mpcb_spbuf 2797c478bd9Sstevel@tonic-gate mpcb_wbcnt 2807c478bd9Sstevel@tonic-gate mpcb_rwin 2817c478bd9Sstevel@tonic-gate mpcb_rsp 2827c478bd9Sstevel@tonic-gate mpcb_flags 2837c478bd9Sstevel@tonic-gate mpcb_thread 2847c478bd9Sstevel@tonic-gate mpcb_wstate 2857c478bd9Sstevel@tonic-gate mpcb_pa MPCB_PA 2867c478bd9Sstevel@tonic-gate mpcb_wbuf_pa 2877c478bd9Sstevel@tonic-gate 2887c478bd9Sstevel@tonic-gate\#define MPCB_RWIN0 (MPCB_RWIN + (0 * MPCB_RWIN_INCR)) 2897c478bd9Sstevel@tonic-gate\#define MPCB_RWIN1 (MPCB_RWIN + (1 * MPCB_RWIN_INCR)) 2907c478bd9Sstevel@tonic-gate\#define MPCB_RSP0 (MPCB_RSP + (0 * MPCB_RSP_INCR)) 2917c478bd9Sstevel@tonic-gate\#define MPCB_RSP1 (MPCB_RSP + (1 * MPCB_RSP_INCR)) 2927c478bd9Sstevel@tonic-gate 2937c478bd9Sstevel@tonic-gatekfpu_t KFPUSIZE 2947c478bd9Sstevel@tonic-gate fpu_fr.fpu_regs FPU_REGS 2957c478bd9Sstevel@tonic-gate fpu_fsr 2967c478bd9Sstevel@tonic-gate fpu_fprs 2977c478bd9Sstevel@tonic-gate fpu_q 2987c478bd9Sstevel@tonic-gate fpu_qcnt 2997c478bd9Sstevel@tonic-gate fpu_en 3007c478bd9Sstevel@tonic-gate 3017c478bd9Sstevel@tonic-gate\#define FPU_GSR KFPUSIZE 3027c478bd9Sstevel@tonic-gate 3037c478bd9Sstevel@tonic-gateregs REGSIZE 3047c478bd9Sstevel@tonic-gate r_tstate TSTATE_OFF 3057c478bd9Sstevel@tonic-gate r_g1 G1_OFF 3067c478bd9Sstevel@tonic-gate r_g2 G2_OFF 3077c478bd9Sstevel@tonic-gate r_g3 G3_OFF 3087c478bd9Sstevel@tonic-gate r_g4 G4_OFF 3097c478bd9Sstevel@tonic-gate r_g5 G5_OFF 3107c478bd9Sstevel@tonic-gate r_g6 G6_OFF 3117c478bd9Sstevel@tonic-gate r_g7 G7_OFF 3127c478bd9Sstevel@tonic-gate r_o0 O0_OFF 3137c478bd9Sstevel@tonic-gate r_o1 O1_OFF 3147c478bd9Sstevel@tonic-gate r_o2 O2_OFF 3157c478bd9Sstevel@tonic-gate r_o3 O3_OFF 3167c478bd9Sstevel@tonic-gate r_o4 O4_OFF 3177c478bd9Sstevel@tonic-gate r_o5 O5_OFF 3187c478bd9Sstevel@tonic-gate r_o6 O6_OFF 3197c478bd9Sstevel@tonic-gate r_o7 O7_OFF 3207c478bd9Sstevel@tonic-gate r_pc PC_OFF 3217c478bd9Sstevel@tonic-gate r_npc NPC_OFF 3227c478bd9Sstevel@tonic-gate r_y Y_OFF 3237c478bd9Sstevel@tonic-gate 3247c478bd9Sstevel@tonic-gate\ XXX - doesn't preserve case up above 3257c478bd9Sstevel@tonic-gate\#define nPC_OFF NPC_OFF 3267c478bd9Sstevel@tonic-gate 3277c478bd9Sstevel@tonic-gateflushmeter FM_SIZE 3287c478bd9Sstevel@tonic-gate f_ctx FM_CTX 3297c478bd9Sstevel@tonic-gate f_usr FM_USR 3307c478bd9Sstevel@tonic-gate f_region FM_REGION 3317c478bd9Sstevel@tonic-gate f_segment FM_SEGMENT 3327c478bd9Sstevel@tonic-gate f_page FM_PAGE 3337c478bd9Sstevel@tonic-gate f_partial FM_PARTIAL 3347c478bd9Sstevel@tonic-gate 3357c478bd9Sstevel@tonic-gateautovec AUTOVECSIZE 3367c478bd9Sstevel@tonic-gate av_vector 3377c478bd9Sstevel@tonic-gate av_intarg 3387c478bd9Sstevel@tonic-gate 3397c478bd9Sstevel@tonic-gatecpu CPUSIZE 3407c478bd9Sstevel@tonic-gate cpu_id 3417c478bd9Sstevel@tonic-gate cpu_flags 3427c478bd9Sstevel@tonic-gate cpu_thread 3437c478bd9Sstevel@tonic-gate cpu_thread_lock 3447c478bd9Sstevel@tonic-gate cpu_kprunrun 3457c478bd9Sstevel@tonic-gate cpu_lwp 3467c478bd9Sstevel@tonic-gate cpu_fpowner 3477c478bd9Sstevel@tonic-gate cpu_idle_thread 3487c478bd9Sstevel@tonic-gate cpu_intr_thread 3497c478bd9Sstevel@tonic-gate cpu_intr_actv 3507c478bd9Sstevel@tonic-gate cpu_base_spl 3517c478bd9Sstevel@tonic-gate cpu_intr_stack 3527c478bd9Sstevel@tonic-gate cpu_stats.sys.cpumigrate CPU_STATS_SYS_CPUMIGRATE 3537c478bd9Sstevel@tonic-gate cpu_stats.sys.intr CPU_STATS_SYS_INTR 3547c478bd9Sstevel@tonic-gate cpu_stats.sys.intrunpin CPU_STATS_SYS_INTRUNPIN 3557c478bd9Sstevel@tonic-gate cpu_stats.sys.intrblk CPU_STATS_SYS_INTRBLK 3567c478bd9Sstevel@tonic-gate cpu_stats.sys.syscall CPU_STATS_SYS_SYSCALL 3577c478bd9Sstevel@tonic-gate cpu_profile_pc 3587c478bd9Sstevel@tonic-gate cpu_profile_upc 3597c478bd9Sstevel@tonic-gate cpu_profile_pil 3607c478bd9Sstevel@tonic-gate cpu_ftrace.ftd_state CPU_FTRACE_STATE 361eda89462Sesolom cpu_mstate 362eda89462Sesolom cpu_intracct 3637c478bd9Sstevel@tonic-gate cpu_m CPU_MCPU 3647c478bd9Sstevel@tonic-gate cpu_m.divisor CPU_DIVISOR 3657c478bd9Sstevel@tonic-gate cpu_m.intrstat CPU_INTRSTAT 3667c478bd9Sstevel@tonic-gate cpu_m.pil_high_start CPU_PIL_HIGH_START 3677c478bd9Sstevel@tonic-gate cpu_m.intr_tail INTR_TAIL 3687c478bd9Sstevel@tonic-gate cpu_m.intr_head INTR_HEAD 3697c478bd9Sstevel@tonic-gate cpu_m.intr_pool INTR_POOL 3707c478bd9Sstevel@tonic-gate cpu_m.tl1_hdlr CPU_TL1_HDLR 3717c478bd9Sstevel@tonic-gate cpu_m.intrcnt CPU_INTRCNT 3727c478bd9Sstevel@tonic-gate cpu_m.tmp1 CPU_TMP1 3737c478bd9Sstevel@tonic-gate cpu_m.tmp2 CPU_TMP2 3747c478bd9Sstevel@tonic-gate cpu_m.mpcb CPU_MPCB 3757c478bd9Sstevel@tonic-gate cpu_m.cpu_private CPU_PRIVATE 376*1e2e7a75Shuah cpu_m.cpu_mmu_idx CPU_MMU_IDX 377*1e2e7a75Shuah cpu_m.cpu_mmu_ctxp CPU_MMU_CTXP 3787c478bd9Sstevel@tonic-gate cpu_m.ptl1_state CPU_PTL1 3797c478bd9Sstevel@tonic-gate 3807c478bd9Sstevel@tonic-gatecpu_core_t CPU_CORE_SIZE CPU_CORE_SHIFT 3817c478bd9Sstevel@tonic-gate cpuc_dtrace_flags 3827c478bd9Sstevel@tonic-gate cpuc_dtrace_illval 3837c478bd9Sstevel@tonic-gate 3847c478bd9Sstevel@tonic-gatecpuset_t CPUSET_SIZE 3857c478bd9Sstevel@tonic-gate 3867c478bd9Sstevel@tonic-gateptl1_state PTL1_STATE_SIZE 3877c478bd9Sstevel@tonic-gate ptl1_regs 3887c478bd9Sstevel@tonic-gate ptl1_entry_count 3897c478bd9Sstevel@tonic-gate ptl1_stktop 3907c478bd9Sstevel@tonic-gate 3917c478bd9Sstevel@tonic-gateptl1_trapregs 3927c478bd9Sstevel@tonic-gate ptl1_tl 3937c478bd9Sstevel@tonic-gate ptl1_tt 3947c478bd9Sstevel@tonic-gate ptl1_tstate 3957c478bd9Sstevel@tonic-gate ptl1_tpc 3967c478bd9Sstevel@tonic-gate ptl1_tnpc 3977c478bd9Sstevel@tonic-gate 3987c478bd9Sstevel@tonic-gatelgrp_ld LGRP_LD_SIZE 3997c478bd9Sstevel@tonic-gate lpl_loadavg 4007c478bd9Sstevel@tonic-gate lpl_ncpu 4017c478bd9Sstevel@tonic-gate lpl_lgrpid 4027c478bd9Sstevel@tonic-gate 4037c478bd9Sstevel@tonic-gateintr_vector INTR_VECTOR_SIZE INTR_VECTOR_SHIFT 4047c478bd9Sstevel@tonic-gate iv_handler 4057c478bd9Sstevel@tonic-gate iv_arg 4067c478bd9Sstevel@tonic-gate iv_pil 4077c478bd9Sstevel@tonic-gate iv_pending 4087c478bd9Sstevel@tonic-gate iv_payload_buf 4097c478bd9Sstevel@tonic-gate iv_softint_arg2 4107c478bd9Sstevel@tonic-gate 4117c478bd9Sstevel@tonic-gatedmv_disp DMV_DISP_SIZE DMV_DISP_SHIFT 4127c478bd9Sstevel@tonic-gate dmv_func 4137c478bd9Sstevel@tonic-gate dmv_arg 4147c478bd9Sstevel@tonic-gate 4157c478bd9Sstevel@tonic-gateintr_req INTR_SIZE 4167c478bd9Sstevel@tonic-gate intr_number 4177c478bd9Sstevel@tonic-gate intr_next 4187c478bd9Sstevel@tonic-gate 4197c478bd9Sstevel@tonic-gatespin_mutex SM_SIZE 4207c478bd9Sstevel@tonic-gate m_spinlock 4217c478bd9Sstevel@tonic-gate 4227c478bd9Sstevel@tonic-gatei_ndi_err NDI_ERR_SIZE 4237c478bd9Sstevel@tonic-gate err_ena 4247c478bd9Sstevel@tonic-gate err_status 4257c478bd9Sstevel@tonic-gate err_ontrap 4267c478bd9Sstevel@tonic-gate 4277c478bd9Sstevel@tonic-gateddi_acc_impl DDI_ACC_IMPL_SIZE 4287c478bd9Sstevel@tonic-gate ahi_common 4297c478bd9Sstevel@tonic-gate ahi_get8 4307c478bd9Sstevel@tonic-gate ahi_get16 4317c478bd9Sstevel@tonic-gate ahi_get32 4327c478bd9Sstevel@tonic-gate ahi_get64 4337c478bd9Sstevel@tonic-gate ahi_put8 4347c478bd9Sstevel@tonic-gate ahi_put16 4357c478bd9Sstevel@tonic-gate ahi_put32 4367c478bd9Sstevel@tonic-gate ahi_put64 4377c478bd9Sstevel@tonic-gate ahi_rep_get8 4387c478bd9Sstevel@tonic-gate ahi_rep_get16 4397c478bd9Sstevel@tonic-gate ahi_rep_get32 4407c478bd9Sstevel@tonic-gate ahi_rep_get64 4417c478bd9Sstevel@tonic-gate ahi_rep_put8 4427c478bd9Sstevel@tonic-gate ahi_rep_put16 4437c478bd9Sstevel@tonic-gate ahi_rep_put32 4447c478bd9Sstevel@tonic-gate ahi_rep_put64 4457c478bd9Sstevel@tonic-gate ahi_fault_check 4467c478bd9Sstevel@tonic-gate ahi_fault 4477c478bd9Sstevel@tonic-gate ahi_err 4487c478bd9Sstevel@tonic-gate 4497c478bd9Sstevel@tonic-gatestdata STDATA_SIZE 4507c478bd9Sstevel@tonic-gate sd_lock 4517c478bd9Sstevel@tonic-gate 4527c478bd9Sstevel@tonic-gatequeue Q_SIZE 4537c478bd9Sstevel@tonic-gate q_flag 4547c478bd9Sstevel@tonic-gate q_next 4557c478bd9Sstevel@tonic-gate q_stream 4567c478bd9Sstevel@tonic-gate q_syncq 4577c478bd9Sstevel@tonic-gate q_qinfo 4587c478bd9Sstevel@tonic-gate 4597c478bd9Sstevel@tonic-gateqinit QI_SIZE 4607c478bd9Sstevel@tonic-gate qi_putp 4617c478bd9Sstevel@tonic-gate 4627c478bd9Sstevel@tonic-gatesyncq SQ_SIZE 4637c478bd9Sstevel@tonic-gate sq_flags 4647c478bd9Sstevel@tonic-gate sq_count 4657c478bd9Sstevel@tonic-gate sq_lock 4667c478bd9Sstevel@tonic-gate sq_wait 4677c478bd9Sstevel@tonic-gate sq_exitwait 4687c478bd9Sstevel@tonic-gate 4697c478bd9Sstevel@tonic-gatebus_ops BUS_OPS_SIZE 4707c478bd9Sstevel@tonic-gate bus_dma_map OPS_MAP 4717c478bd9Sstevel@tonic-gate bus_dma_allochdl OPS_ALLOCHDL 4727c478bd9Sstevel@tonic-gate bus_dma_freehdl OPS_FREEHDL 4737c478bd9Sstevel@tonic-gate bus_dma_bindhdl OPS_BINDHDL 4747c478bd9Sstevel@tonic-gate bus_dma_unbindhdl OPS_UNBINDHDL 4757c478bd9Sstevel@tonic-gate bus_dma_flush OPS_FLUSH 4767c478bd9Sstevel@tonic-gate bus_dma_win OPS_WIN 4777c478bd9Sstevel@tonic-gate bus_dma_ctl OPS_MCTL 4787c478bd9Sstevel@tonic-gate bus_ctl OPS_CTL 4797c478bd9Sstevel@tonic-gate 4807c478bd9Sstevel@tonic-gatedev_ops DEV_OPS_SIZE 4817c478bd9Sstevel@tonic-gate devo_bus_ops DEVI_BUS_OPS 4827c478bd9Sstevel@tonic-gate 4837c478bd9Sstevel@tonic-gatedev_info DEVI_SIZE 4847c478bd9Sstevel@tonic-gate devi_ops DEVI_DEV_OPS 4857c478bd9Sstevel@tonic-gate devi_bus_dma_win 4867c478bd9Sstevel@tonic-gate devi_bus_dma_allochdl 4877c478bd9Sstevel@tonic-gate devi_bus_dma_freehdl 4887c478bd9Sstevel@tonic-gate devi_bus_dma_bindhdl 4897c478bd9Sstevel@tonic-gate devi_bus_dma_unbindhdl 4907c478bd9Sstevel@tonic-gate devi_bus_dma_flush 4917c478bd9Sstevel@tonic-gate devi_bus_dma_unbindfunc 4927c478bd9Sstevel@tonic-gate devi_bus_ctl 4937c478bd9Sstevel@tonic-gate devi_bus_dma_map 4947c478bd9Sstevel@tonic-gate devi_bus_dma_ctl 4957c478bd9Sstevel@tonic-gate 4967c478bd9Sstevel@tonic-gatekstat_io 4977c478bd9Sstevel@tonic-gate wtime KSTAT_IO_WTIME 4987c478bd9Sstevel@tonic-gate wlentime KSTAT_IO_WLENTIME 4997c478bd9Sstevel@tonic-gate wlastupdate KSTAT_IO_WLASTUPDATE 5007c478bd9Sstevel@tonic-gate rtime KSTAT_IO_RTIME 5017c478bd9Sstevel@tonic-gate rlentime KSTAT_IO_RLENTIME 5027c478bd9Sstevel@tonic-gate rlastupdate KSTAT_IO_RLASTUPDATE 5037c478bd9Sstevel@tonic-gate wcnt KSTAT_IO_WCNT 5047c478bd9Sstevel@tonic-gate rcnt KSTAT_IO_RCNT 5057c478bd9Sstevel@tonic-gate 5067c478bd9Sstevel@tonic-gateddi_dma_impl 5077c478bd9Sstevel@tonic-gate dmai_rflags DMA_HANDLE_RFLAGS 5087c478bd9Sstevel@tonic-gate dmai_rdip DMA_HANDLE_RDIP 5097c478bd9Sstevel@tonic-gate 5107c478bd9Sstevel@tonic-gateon_trap_data 5117c478bd9Sstevel@tonic-gate ot_prot 5127c478bd9Sstevel@tonic-gate ot_trap 5137c478bd9Sstevel@tonic-gate ot_trampoline 5147c478bd9Sstevel@tonic-gate ot_jmpbuf 5157c478bd9Sstevel@tonic-gate ot_prev 5167c478bd9Sstevel@tonic-gate ot_handle 5177c478bd9Sstevel@tonic-gate ot_pad1 5187c478bd9Sstevel@tonic-gate 5197c478bd9Sstevel@tonic-gatefpustat_kstat FPUSTAT_KSTAT_SIZE 5207c478bd9Sstevel@tonic-gate fpu_unfinished_traps.value FPUSTAT_UNFIN_KSTAT 5217c478bd9Sstevel@tonic-gate 5227c478bd9Sstevel@tonic-gatefpuinfo_kstat FPUINFO_KSTAT_SIZE 5237c478bd9Sstevel@tonic-gate fpu_sim_fitos.value FPUINFO_FITOS_KSTAT 5247c478bd9Sstevel@tonic-gate 5257c478bd9Sstevel@tonic-gatemod_stub_info MODS_SIZE 5267c478bd9Sstevel@tonic-gate mods_func_adr MODS_INSTFCN 5277c478bd9Sstevel@tonic-gate mods_errfcn MODS_RETFCN 5287c478bd9Sstevel@tonic-gate mods_flag MODS_FLAG 5297c478bd9Sstevel@tonic-gate 5307c478bd9Sstevel@tonic-gatecopyops 5317c478bd9Sstevel@tonic-gate cp_copyin 5327c478bd9Sstevel@tonic-gate cp_xcopyin 5337c478bd9Sstevel@tonic-gate cp_copyout 5347c478bd9Sstevel@tonic-gate cp_xcopyout 5357c478bd9Sstevel@tonic-gate cp_copyinstr 5367c478bd9Sstevel@tonic-gate cp_copyoutstr 5377c478bd9Sstevel@tonic-gate cp_fuword8 5387c478bd9Sstevel@tonic-gate cp_fuword16 5397c478bd9Sstevel@tonic-gate cp_fuword32 5407c478bd9Sstevel@tonic-gate cp_fuword64 5417c478bd9Sstevel@tonic-gate cp_suword8 5427c478bd9Sstevel@tonic-gate cp_suword16 5437c478bd9Sstevel@tonic-gate cp_suword32 5447c478bd9Sstevel@tonic-gate cp_suword64 5457c478bd9Sstevel@tonic-gate cp_physio 5467c478bd9Sstevel@tonic-gate 547