Print this page
4664 CPU->cpu_pri_data hasn't been used for years
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/i86pc/ml/offsets.in
+++ new/usr/src/uts/i86pc/ml/offsets.in
1 1 \
2 2 \ Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
3 3 \ Copyright 2012 Garrett D'Amore <garrett@damore.org>. All rights reserved.
4 4 \
5 5 \ CDDL HEADER START
6 6 \
7 7 \ The contents of this file are subject to the terms of the
8 8 \ Common Development and Distribution License (the "License").
9 9 \ You may not use this file except in compliance with the License.
10 10 \
11 11 \ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 12 \ or http://www.opensolaris.org/os/licensing.
13 13 \ See the License for the specific language governing permissions
14 14 \ and limitations under the License.
15 15 \
16 16 \ When distributing Covered Code, include this CDDL HEADER in each
17 17 \ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18 18 \ If applicable, add the following below this CDDL HEADER, with the
19 19 \ fields enclosed by brackets "[]" replaced with your own identifying
20 20 \ information: Portions Copyright [yyyy] [name of copyright owner]
21 21 \
22 22 \ CDDL HEADER END
23 23 \
24 24
25 25
26 26 \
27 27 \ offsets.in: input file to produce assym.h using the ctfstabs program
28 28 \
29 29
30 30 #ifndef _GENASSYM
31 31 #define _GENASSYM
32 32 #endif
33 33
34 34 #define SIZES 1
35 35
36 36 #include <sys/types.h>
37 37 #include <sys/bootsvcs.h>
38 38 #include <sys/systm.h>
39 39 #include <sys/sysinfo.h>
40 40 #include <sys/user.h>
41 41 #include <sys/thread.h>
42 42 #include <sys/proc.h>
43 43 #include <sys/cpuvar.h>
44 44 #include <sys/tss.h>
45 45 #include <sys/privregs.h>
46 46 #include <sys/segments.h>
47 47 #include <sys/devops.h>
48 48 #include <sys/ddi_impldefs.h>
49 49 #include <vm/as.h>
50 50 #include <sys/avintr.h>
51 51 #include <sys/pic.h>
52 52 #include <sys/rm_platter.h>
53 53 #include <sys/stream.h>
54 54 #include <sys/strsubr.h>
55 55 #include <sys/sunddi.h>
56 56 #include <sys/modctl.h>
57 57 #include <sys/traptrace.h>
58 58 #include <sys/ontrap.h>
59 59 #include <sys/lgrp.h>
60 60 #include <sys/dtrace.h>
61 61 #include <sys/brand.h>
62 62 #include <sys/fastboot.h>
63 63 #include <sys/cpr_wakecode.h>
64 64
65 65 proc PROCSIZE
66 66 p_link
67 67 p_next
68 68 p_child
69 69 p_sibling
70 70 p_sig
71 71 p_flag
72 72 p_tlist
73 73 p_as
74 74 p_lockp
75 75 p_user
76 76 p_ldt
77 77 p_ldt_desc
78 78 p_model
79 79 p_pctx
80 80 p_agenttp
81 81 p_zone
82 82 p_brand
83 83 p_brand_data
84 84
85 85 _kthread THREAD_SIZE
86 86 t_pcb T_LABEL
87 87 t_lock
88 88 t_lockstat
89 89 t_lockp
90 90 t_lock_flush
91 91 t_kpri_req
92 92 t_oldspl
93 93 t_pri
94 94 t_pil
95 95 t_lwp
96 96 t_procp
97 97 t_link
98 98 t_state
99 99 t_mstate
100 100 t_preempt_lk
101 101 t_stk T_STACK
102 102 t_swap
103 103 t_lwpchan.lc_wchan T_WCHAN
104 104 t_flag T_FLAGS
105 105 t_ctx
106 106 t_lofault
107 107 t_onfault
108 108 t_ontrap
109 109 t_cpu
110 110 t_lpl
111 111 t_bound_cpu
112 112 t_intr
113 113 t_forw
114 114 t_back
115 115 t_sig
116 116 t_tid
117 117 t_pre_sys
118 118 t_preempt
119 119 t_proc_flag
120 120 t_startpc
121 121 t_sysnum
122 122 t_intr_start
123 123 _tu._ts._t_astflag T_ASTFLAG
124 124 _tu._ts._t_post_sys T_POST_SYS
125 125 _tu._t_post_sys_ast T_POST_SYS_AST
126 126 t_copyops
127 127
128 128 ctxop
129 129 save_op CTXOP_SAVE
130 130
131 131 as
132 132 a_hat
133 133
134 134 user USIZEBYTES
135 135 u_comm
136 136 u_signal
137 137
138 138 _label_t
139 139 val LABEL_VAL
140 140
141 141 \#define LABEL_PC LABEL_VAL
142 142 \#define LABEL_SP _CONST(LABEL_VAL + LABEL_VAL_INCR)
143 143 \#define T_PC _CONST(T_LABEL + LABEL_PC)
144 144 \#define T_SP _CONST(T_LABEL + LABEL_SP)
145 145
146 146 _klwp
147 147 lwp_thread
148 148 lwp_procp
149 149 lwp_brand
150 150 lwp_eosys
151 151 lwp_regs
152 152 lwp_arg
153 153 lwp_ap
154 154 lwp_cursig
155 155 lwp_state
156 156 lwp_mstate.ms_acct LWP_MS_ACCT
157 157 lwp_mstate.ms_prev LWP_MS_PREV
158 158 lwp_mstate.ms_start LWP_MS_START
159 159 lwp_mstate.ms_state_start LWP_MS_STATE_START
160 160 lwp_pcb
161 161 lwp_ru.sysc LWP_RU_SYSC
162 162
163 163 \#define LWP_ACCT_USER _CONST(LWP_MS_ACCT + _MUL(LMS_USER, LWP_MS_ACCT_INCR))
164 164 \#define LWP_ACCT_SYSTEM _CONST(LWP_MS_ACCT + _MUL(LMS_SYSTEM, LWP_MS_ACCT_INCR))
165 165
166 166 fpu_ctx
167 167 fpu_regs FPU_CTX_FPU_REGS
168 168 fpu_flags FPU_CTX_FPU_FLAGS
169 169 fpu_xsave_mask FPU_CTX_FPU_XSAVE_MASK
170 170
171 171 fxsave_state FXSAVE_STATE_SIZE
172 172 fx_fsw FXSAVE_STATE_FSW
173 173 fx_mxcsr_mask FXSAVE_STATE_MXCSR_MASK
174 174
175 175
176 176 autovec AUTOVECSIZE
177 177 av_vector
178 178 av_intarg1
179 179 av_intarg2
180 180 av_ticksp
181 181 av_link
182 182 av_prilevel
183 183 av_dip
184 184
185 185 av_head
186 186 avh_link
187 187 avh_hi_pri
188 188 avh_lo_pri
189 189
190 190 cpu
191 191 cpu_id
192 192 cpu_flags
193 193 cpu_self
194 194 cpu_thread
195 195 cpu_thread_lock
196 196 cpu_kprunrun
197 197 cpu_lwp
198 198 cpu_fpowner
199 199 cpu_idle_thread
200 200 cpu_intr_thread
201 201 cpu_intr_actv
202 202 cpu_base_spl
203 203 cpu_intr_stack
204 204 cpu_stats.sys.cpumigrate CPU_STATS_SYS_CPUMIGRATE
205 205 cpu_stats.sys.intr CPU_STATS_SYS_INTR
206 206 cpu_stats.sys.intrblk CPU_STATS_SYS_INTRBLK
207 207 cpu_stats.sys.syscall CPU_STATS_SYS_SYSCALL
208 208 cpu_profile_pc
209 209 cpu_profile_upc
210 210 cpu_profile_pil
211 211 cpu_ftrace.ftd_state CPU_FTRACE_STATE
212 212 cpu_mstate
213 213 cpu_intracct
214 214
215 215 \#define CPU_INTR_ACTV_REF _CONST(CPU_INTR_ACTV + 2)
↓ open down ↓ |
215 lines elided |
↑ open up ↑ |
216 216
217 217 cpu
218 218 cpu_m.pil_high_start CPU_PIL_HIGH_START
219 219 cpu_m.intrstat CPU_INTRSTAT
220 220 cpu_m.mcpu_current_hat CPU_CURRENT_HAT
221 221 cpu_m.mcpu_gdt CPU_GDT
222 222 cpu_m.mcpu_idt CPU_IDT
223 223 cpu_m.mcpu_tss CPU_TSS
224 224 cpu_m.mcpu_softinfo CPU_SOFTINFO
225 225 cpu_m.mcpu_pri CPU_PRI
226 - cpu_m.mcpu_pri_data CPU_PRI_DATA
227 226 #if defined(__xpv)
228 227 cpu_m.mcpu_vcpu_info CPU_VCPU_INFO
229 228 #endif
230 229
231 -machcpu
232 - mcpu_pri_data MCPU_PRI_DATA
233 -
234 230 standard_pic
235 231 c_curmask
236 232 c_iplmask
237 233
238 234 ddi_dma_impl
239 235 dmai_rflags
240 236 dmai_rdip
241 237
242 238 dev_info
243 239 devi_ops DEVI_DEV_OPS
244 240 devi_bus_ctl
245 241 devi_bus_dma_ctl
246 242 devi_bus_dma_allochdl
247 243 devi_bus_dma_freehdl
248 244 devi_bus_dma_bindhdl
249 245 devi_bus_dma_unbindhdl
250 246 devi_bus_dma_flush
251 247 devi_bus_dma_win
252 248
253 249 dev_ops
254 250 devo_bus_ops DEVI_BUS_OPS
255 251
256 252 bus_ops
257 253 bus_ctl OPS_CTL
258 254 bus_dma_map OPS_MAP
259 255 bus_dma_ctl OPS_MCTL
260 256 bus_dma_allochdl OPS_ALLOCHDL
261 257 bus_dma_freehdl OPS_FREEHDL
262 258 bus_dma_bindhdl OPS_BINDHDL
263 259 bus_dma_unbindhdl OPS_UNBINDHDL
264 260 bus_dma_flush OPS_FLUSH
265 261 bus_dma_win OPS_WIN
266 262
267 263 sysent SYSENT_SIZE SYSENT_SIZE_SHIFT
268 264 sy_callc
269 265 sy_flags
270 266 sy_narg
271 267
272 268 stdata
273 269 sd_lock
274 270
275 271 queue
276 272 q_flag
277 273 q_next
278 274 q_stream
279 275 q_syncq
280 276 q_qinfo
281 277
282 278 qinit
283 279 qi_putp
284 280
285 281 syncq
286 282 sq_flags
287 283 sq_count
288 284 sq_lock
289 285 sq_wait
290 286
291 287 rm_platter
292 288 rm_idt_lim IDTROFF
293 289 rm_gdt_lim GDTROFF
294 290 rm_pdbr CR3OFF
295 291 rm_cpu CPUNOFF
296 292 rm_cr4 CR4OFF
297 293 rm_cpu_halt_code CPUHALTCODEOFF
298 294 rm_cpu_halted CPUHALTEDOFF
299 295
300 296 ddi_acc_impl
301 297 ahi_acc_attr ACC_ATTR
302 298 ahi_get8 ACC_GETB
303 299 ahi_get16 ACC_GETW
304 300 ahi_get32 ACC_GETL
305 301 ahi_get64 ACC_GETLL
306 302 ahi_put8 ACC_PUTB
307 303 ahi_put16 ACC_PUTW
308 304 ahi_put32 ACC_PUTL
309 305 ahi_put64 ACC_PUTLL
310 306 ahi_rep_get8 ACC_REP_GETB
311 307 ahi_rep_get16 ACC_REP_GETW
312 308 ahi_rep_get32 ACC_REP_GETL
313 309 ahi_rep_get64 ACC_REP_GETLL
314 310 ahi_rep_put8 ACC_REP_PUTB
315 311 ahi_rep_put16 ACC_REP_PUTW
316 312 ahi_rep_put32 ACC_REP_PUTL
317 313 ahi_rep_put64 ACC_REP_PUTLL
318 314
319 315 on_trap_data
320 316 ot_prot
321 317 ot_trap
322 318 ot_trampoline
323 319 ot_jmpbuf
324 320 ot_prev
325 321 ot_handle
326 322 ot_pad1
327 323
328 324 trap_trace_ctl_t __TRAPTR_SIZE TRAPTR_SIZE_SHIFT
329 325 ttc_next TRAPTR_NEXT
330 326 ttc_first TRAPTR_FIRST
331 327 ttc_limit TRAPTR_LIMIT
332 328
333 329 trap_trace_rec_t TRAP_ENT_SIZE
334 330 ttr_cr2
335 331 ttr_info.idt_entry.vector TTR_VECTOR
336 332 ttr_info.idt_entry.ipl TTR_IPL
337 333 ttr_info.idt_entry.spl TTR_SPL
338 334 ttr_info.idt_entry.pri TTR_PRI
339 335 ttr_info.gate_entry.sysnum TTR_SYSNUM
340 336 ttr_marker
341 337 ttr_stamp
342 338 ttr_curthread
343 339 ttr_sdepth
344 340 ttr_stack
345 341
346 342 lgrp_ld
347 343 lpl_lgrpid
348 344
349 345 dtrace_id_t DTRACE_IDSIZE
350 346
351 347 cpu_core CPU_CORE_SIZE CPU_CORE_SHIFT
352 348 cpuc_dtrace_flags
353 349 cpuc_dtrace_illval
354 350
355 351 timespec TIMESPEC_SIZE
356 352
357 353 gate_desc GATE_DESC_SIZE
358 354
359 355 desctbr_t DESCTBR_SIZE
360 356 dtr_limit
361 357 dtr_base
362 358
363 359 mod_stub_info MODS_SIZE
364 360 mods_func_adr MODS_INSTFCN
365 361 mods_errfcn MODS_RETFCN
366 362 mods_flag
367 363
368 364 \#define TRAP_TSIZE _MUL(TRAP_ENT_SIZE, TRAPTR_NENT)
369 365
370 366 copyops
371 367 cp_copyin
372 368 cp_xcopyin
373 369 cp_copyout
374 370 cp_xcopyout
375 371 cp_copyinstr
376 372 cp_copyoutstr
377 373 cp_fuword8
378 374 cp_fuword16
379 375 cp_fuword32
380 376 cp_fuword64
381 377 cp_suword8
382 378 cp_suword16
383 379 cp_suword32
384 380 cp_suword64
385 381 cp_physio
386 382
387 383 brand
388 384 b_machops
389 385
390 386 brand_proc_data_t
391 387 spd_handler
392 388
393 389 fastboot_file_t
394 390 fb_va
395 391 fb_pte_list_va
396 392 fb_pte_list_pa
397 393 fb_dest_pa
398 394 fb_size
399 395 fb_next_pa
400 396 fb_sections
401 397 fb_sectcnt
402 398
403 399 fastboot_section_t
404 400 fb_sec_offset
405 401 fb_sec_paddr
406 402 fb_sec_size
407 403 fb_sec_bss_size
408 404
409 405 fastboot_info_t
410 406 fi_files
411 407 fi_has_pae
412 408 fi_pagetable_va
413 409 fi_pagetable_pa
414 410 fi_last_table_pa
415 411 fi_new_mbi_pa
416 412 fi_valid
417 413
418 414 zone
419 415 zone_brand_data
420 416
421 417 wc_cpu WC_CPU_SIZE
422 418 wc_retaddr
423 419 wc_virtaddr
424 420 wc_cr0
425 421 wc_cr3
426 422 wc_cr4
427 423 wc_cr8
428 424 wc_fs
429 425 wc_fsbase
430 426 wc_gs
431 427 wc_gsbase
432 428 wc_kgsbase
433 429 wc_r8
434 430 wc_r9
435 431 wc_r10
436 432 wc_r11
437 433 wc_r12
438 434 wc_r13
439 435 wc_r14
440 436 wc_r15
441 437 wc_rax
442 438 wc_rbp
443 439 wc_rbx
444 440 wc_rcx
445 441 wc_rdi
446 442 wc_rdx
447 443 wc_rsi
448 444 wc_rsp
449 445 wc_gdt_limit WC_GDT
450 446 wc_gdt_base
451 447 wc_idt_limit WC_IDT
452 448 wc_idt_base
453 449 wc_tr
454 450 wc_ldt
455 451 wc_eflags
456 452 wc_ebx
457 453 wc_edi
458 454 wc_esi
459 455 wc_ebp
460 456 wc_esp
461 457 wc_esp
462 458 wc_ss
463 459 wc_cs
464 460 wc_ds
465 461 wc_es
466 462 wc_cpu_id
467 463 wc_saved_stack
468 464
469 465 wc_wakecode
470 466 wc_cpu
↓ open down ↓ |
227 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX