00001 #ifndef pcbdef_h 00002 #define pcbdef_h 00003 00004 #define PCB_M_RES 0x1 00005 #define PCB_M_DELPEN 0x2 00006 #define PCB_M_FORCPEN 0x4 00007 #define PCB_M_INQUAN 0x8 00008 #define PCB_M_PSWAPM 0x10 00009 #define PCB_M_RESPEN 0x20 00010 #define PCB_M_SSFEXC 0x40 00011 #define PCB_M_SSFEXCE 0x80 00012 #define PCB_M_SSFEXCS 0x100 00013 #define PCB_M_SSFEXCU 0x200 00014 #define PCB_M_SSRWAIT 0x400 00015 #define PCB_M_SUSPEN 0x800 00016 #define PCB_M_WAKEPEN 0x1000 00017 #define PCB_M_WALL 0x2000 00018 #define PCB_M_BATCH 0x4000 00019 #define PCB_M_NOACNT 0x8000 00020 #define PCB_M_NOSUSPEND 0x10000 00021 #define PCB_M_ASTPEN 0x20000 00022 #define PCB_M_PHDRES 0x40000 00023 #define PCB_M_HIBER 0x80000 00024 #define PCB_M_LOGIN 0x100000 00025 #define PCB_M_NETWRK 0x200000 00026 #define PCB_M_PWRAST 0x400000 00027 #define PCB_M_NODELET 0x800000 00028 #define PCB_M_DISAWS 0x1000000 00029 #define PCB_M_INTER 0x2000000 00030 #define PCB_M_RECOVER 0x4000000 00031 #define PCB_M_SECAUDIT 0x8000000 00032 #define PCB_M_HARDAFF 0x10000000 00033 #define PCB_M_ERDACT 0x20000000 00034 #define PCB_M_SOFTSUSP 0x40000000 00035 #define PCB_M_PREEMPTED 0x80000000 00036 #define PCB_M_QUANTUM_RESCHED 0x1 00037 #define PCB_M_DISABLE_PREEMPT_PKTA_LOCK 0x2 00038 #define PCB_M_FREDLOCK 0x4 00039 #define PCB_M_PHDLOCK 0x8 00040 #define PCB_M_TCB 0x10 00041 #define PCB_M_TBS_STATE_PENDING 0x20 00042 #define PCB_M_CLASS_SCHED_PERM 0x8000 00043 #define PCB_M_TERM_NOTIFY 0x10000 00044 #define PCB_M_BYTLM_LOAN 0x20000 00045 #define PCB_M_DISABLE_PREEMPT 0x40000 00046 #define PCB_M_NOUNSHELVE 0x80000 00047 #define PCB_M_SHELVING_RESERVED 0x100000 00048 #define PCB_M_CLASS_SCHEDULED 0x200000 00049 #define PCB_M_CLASS_SUPPLIED 0x400000 00050 #define PCB_M_IN_TBS_STATE 0x800000 00051 #define PCB_M_WINDFALL 0x1000000 00052 #define PCB_M_NOTIFY 0x2000000 00053 #define PCB_M_SINGLE_THREADED 0x3C000000 00054 #define PCB_M_RWAST 0x40000000 00055 #define PCB_M_SOFT_SINGLE_THREAD 0x80000000 00056 #define PCB_M_EPID_WILD 0x80000000 00057 #define PCB_M_FORK 0x1 00058 #define PCB_K_SCHED_OTHER 0 00059 #define PCB_K_SCHED_FIFO 1 00060 #define PCB_K_SCHED_RR 2 00061 00062 #define PCB_K_SCHED_POLICY_CNT 3 00063 #define PCB_K_ALL_THREADS -2147483648 00064 #define PCB_K_MAX_KT_COUNT 256 00065 #define PCB_M_EVENT_NO_FLAG 0x1 00066 00067 #define PCB_K_LENGTH 952 00068 #define PCB_C_LENGTH 952 00069 #define PCB_S_PCBDEF 952 00070 #define KTB_M_RES 0x1 00071 #define KTB_M_DELPEN 0x2 00072 #define KTB_M_FORCPEN 0x4 00073 #define KTB_M_INQUAN 0x8 00074 #define KTB_M_PSWAPM 0x10 00075 #define KTB_M_RESPEN 0x20 00076 #define KTB_M_SSFEXC 0x40 00077 #define KTB_M_SSFEXCE 0x80 00078 #define KTB_M_SSFEXCS 0x100 00079 #define KTB_M_SSFEXCU 0x200 00080 #define KTB_M_SSRWAIT 0x400 00081 #define KTB_M_SUSPEN 0x800 00082 #define KTB_M_WAKEPEN 0x1000 00083 #define KTB_M_WALL 0x2000 00084 #define KTB_M_BATCH 0x4000 00085 #define KTB_M_NOACNT 0x8000 00086 #define KTB_M_NOSUSPEND 0x10000 00087 #define KTB_M_ASTPEN 0x20000 00088 #define KTB_M_PHDRES 0x40000 00089 #define KTB_M_HIBER 0x80000 00090 #define KTB_M_LOGIN 0x100000 00091 #define KTB_M_NETWRK 0x200000 00092 #define KTB_M_PWRAST 0x400000 00093 #define KTB_M_NODELET 0x800000 00094 #define KTB_M_DISAWS 0x1000000 00095 #define KTB_M_INTER 0x2000000 00096 #define KTB_M_RECOVER 0x4000000 00097 #define KTB_M_SECAUDIT 0x8000000 00098 #define KTB_M_HARDAFF 0x10000000 00099 #define KTB_M_ERDACT 0x20000000 00100 #define KTB_M_SOFTSUSP 0x40000000 00101 #define KTB_M_PREEMPTED 0x80000000 00102 #define KTB_M_QUANTUM_RESCHED 0x1 00103 #define KTB_M_PHDLOCK 0x8 00104 #define KTB_M_TCB 0x10 00105 #define KTB_M_TBS_STATE_PENDING 0x20 00106 #define KTB_M_CLASS_SCHED_PERM 0x8000 00107 #define KTB_M_TERM_NOTIFY 0x10000 00108 #define KTB_M_BYTLM_LOAN 0x20000 00109 #define KTB_M_NOUNSHELVE 0x80000 00110 #define KTB_M_SHELVING_RESERVED 0x100000 00111 #define KTB_M_CLASS_SCHEDULED 0x200000 00112 #define KTB_M_CLASS_SUPPLIED 0x400000 00113 #define KTB_M_IN_TBS_STATE 0x800000 00114 #define KTB_M_WINDFALL 0x1000000 00115 #define KTB_M_NOTIFY 0x2000000 00116 #define KTB_M_SINGLE_THREADED 0x3C000000 00117 #define KTB_M_EPID_WILD 0x80000000 00118 #define KTB_K_SCHED_OTHER 0 00119 #define KTB_K_SCHED_FIFO 1 00120 #define KTB_K_SCHED_RR 2 00121 00122 #define KTB_K_SCHED_POLICY_CNT 3 00123 #define KTB_M_DELETE_PENDING 0x1 00124 #define KTB_M_SCHED_CONTEXT_SAVED 0x2 00125 #define KTB_M_SINGLE_THREAD_ACT 0x3C 00126 #define KTB_M_TOLERANT 0x40 00127 #define KTB_M_SOFT_RAD_AFFINITY 0x80 00128 00129 #define KTB_K_LENGTH 952 00130 #define KTB_C_LENGTH 952 00131 #define KTB_S_KTBDEF 952 00132 00133 /* Do not use this struct now */ 00134 00135 struct pcb { 00136 struct _pcb *pcb_l_sqfl; 00137 struct _pcb *pcb_l_sqbl; 00138 unsigned short int pcb_w_size; 00139 unsigned char pcb_b_type; 00140 unsigned char pcb_b_fill_1; 00141 unsigned int pcb_l_ast_pending; 00142 unsigned long long pcb_q_phypcb; 00143 union { 00144 unsigned long long pcb_q_lefc_swapped; 00145 struct { 00146 unsigned int pcb_l_lefc_0_swapped; 00147 unsigned int pcb_l_lefc_1_swapped; 00148 }; 00149 }; 00150 struct _acb *pcb_l_astqfl_spk; 00151 struct _acb *pcb_l_astqbl_spk; 00152 struct _acb *pcb_l_astqfl_k; 00153 struct _acb *pcb_l_astqbl_k; 00154 struct _acb *pcb_l_astqfl_e; 00155 struct _acb *pcb_l_astqbl_e; 00156 struct _acb *pcb_l_astqfl_s; 00157 struct _acb *pcb_l_astqbl_s; 00158 struct _acb *pcb_l_astqfl_u; 00159 struct _acb *pcb_l_astqbl_u; 00160 int pcb_l_prvcpu; 00161 int pcb_l_cpu_id; 00162 unsigned long long pcb_q_prvasn; 00163 unsigned long long pcb_q_prvasnseq; 00164 unsigned long long pcb_q_oncpucnt; 00165 unsigned int pcb_l_astact; 00166 unsigned int pcb_l_state; 00167 unsigned int pcb_l_pri; 00168 unsigned int pcb_l_prib; 00169 unsigned int pcb_l_affinity_skip; 00170 unsigned int pcb_l_owner; 00171 union { 00172 unsigned int pcb_l_sts; 00173 struct { 00174 unsigned pcb_v_res : 1; 00175 unsigned pcb_v_delpen : 1; 00176 unsigned pcb_v_forcpen : 1; 00177 unsigned pcb_v_inquan : 1; 00178 unsigned pcb_v_pswapm : 1; 00179 unsigned pcb_v_respen : 1; 00180 unsigned pcb_v_ssfexc : 1; 00181 unsigned pcb_v_ssfexce : 1; 00182 unsigned pcb_v_ssfexcs : 1; 00183 unsigned pcb_v_ssfexcu : 1; 00184 unsigned pcb_v_ssrwait : 1; 00185 unsigned pcb_v_suspen : 1; 00186 unsigned pcb_v_wakepen : 1; 00187 unsigned pcb_v_wall : 1; 00188 unsigned pcb_v_batch : 1; 00189 unsigned pcb_v_noacnt : 1; 00190 unsigned pcb_v_nosuspend : 1; 00191 unsigned pcb_v_astpen : 1; 00192 unsigned pcb_v_phdres : 1; 00193 unsigned pcb_v_hiber : 1; 00194 unsigned pcb_v_login : 1; 00195 unsigned pcb_v_netwrk : 1; 00196 unsigned pcb_v_pwrast : 1; 00197 unsigned pcb_v_nodelet : 1; 00198 unsigned pcb_v_disaws : 1; 00199 unsigned pcb_v_inter : 1; 00200 unsigned pcb_v_recover : 1; 00201 unsigned pcb_v_secaudit : 1; 00202 unsigned pcb_v_hardaff : 1; 00203 unsigned pcb_v_erdact : 1; 00204 unsigned pcb_v_softsusp : 1; 00205 unsigned pcb_v_preempted : 1; 00206 }; 00207 }; 00208 union { 00209 unsigned int pcb_l_sts2; 00210 struct { 00211 unsigned pcb_v_quantum_resched : 1; 00212 unsigned pcb_v_disable_preempt_pkta_lock : 1; 00213 unsigned pcb_v_fredlock : 1; 00214 unsigned pcb_v_phdlock : 1; 00215 unsigned pcb_v_tcb : 1; 00216 unsigned pcb_v_tbs_state_pending : 1; 00217 unsigned pcb_v_fill_3 : 9; 00218 unsigned pcb_v_class_sched_perm : 1; 00219 unsigned pcb_v_term_notify : 1; 00220 unsigned pcb_v_bytlm_loan : 1; 00221 unsigned pcb_v_disable_preempt : 1; 00222 unsigned pcb_v_nounshelve : 1; 00223 unsigned pcb_v_shelving_reserved : 1; 00224 unsigned pcb_v_class_scheduled : 1; 00225 unsigned pcb_v_class_supplied : 1; 00226 00227 00228 unsigned pcb_v_in_tbs_state : 1; 00229 unsigned pcb_v_windfall : 1; 00230 unsigned pcb_v_notify : 1; 00231 unsigned pcb_v_single_threaded : 4; 00232 unsigned pcb_v_rwast : 1; 00233 unsigned pcb_v_soft_single_thread : 1; 00234 }; 00235 }; 00236 unsigned int pcb_l_prisav; 00237 unsigned int pcb_l_pribsav; 00238 unsigned int pcb_l_authpri; 00239 unsigned int pcb_l_onqtime; 00240 00241 unsigned int pcb_l_waitime; 00242 unsigned int pcb_l_astcnt; 00243 unsigned int pcb_l_biocnt; 00244 unsigned int pcb_l_biolm; 00245 int pcb_l_diocnt; 00246 int pcb_l_diolm; 00247 unsigned int pcb_l_prccnt; 00248 char pcb_t_terminal [8]; 00249 00250 unsigned int pcb_l_wefc; 00251 unsigned int pcb_l_efwm; 00252 unsigned int pcb_l_efcs; 00253 unsigned int pcb_l_efcu; 00254 union { 00255 struct { 00256 int pcb_l_efc2p; 00257 int pcb_l_efc3p; 00258 }; 00259 struct { 00260 unsigned short int pcb_w_pgflchar; 00261 unsigned char pcb_b_pgflindex; 00262 }; 00263 }; 00264 unsigned int pcb_l_pid; 00265 00266 00267 00268 00269 union { 00270 unsigned int pcb_l_epid; 00271 struct { 00272 unsigned pcb_v_epid_proc : 21; 00273 unsigned pcb_v_epid_node_idx : 8; 00274 unsigned pcb_v_epid_node_seq : 2; 00275 unsigned pcb_v_epid_wild : 1; 00276 }; 00277 }; 00278 00279 unsigned int pcb_l_eowner; 00280 unsigned int pcb_l_aptcnt; 00281 unsigned int pcb_l_mtxcnt; 00282 unsigned int pcb_l_gpgcnt; 00283 unsigned int pcb_l_ppgcnt; 00284 void *pcb_l_wsswp; 00285 unsigned int pcb_l_swapsize; 00286 struct _phd *pcb_l_phd; 00287 struct _jib *pcb_l_jib; 00288 struct { 00289 unsigned long long pcb_q_priv; 00290 struct _arb *pcb_l_arb; 00291 char pcb_$$_arb_fill_1 [48]; 00292 union { 00293 unsigned int pcb_l_uic; 00294 struct { 00295 unsigned short int pcb_w_mem; 00296 unsigned short int pcb_w_grp; 00297 }; 00298 }; 00299 char pcb_$$_arb_fill_2 [60]; 00300 }; 00301 struct _orb *pcb_l_orb; 00302 unsigned int pcb_l_tmbu; 00303 unsigned int pcb_l_home_rad; 00304 char pcb_b_spare_1 [4]; 00305 int pcb_l_dlckpri; 00306 unsigned int pcb_l_defprot; 00307 struct _pmb *pcb_l_pmb; 00308 int pcb_l_affinity; 00309 unsigned int pcb_l_capability; 00310 unsigned int pcb_l_cputim; 00311 char pcb_t_lname [16]; 00312 struct _pdb *pcb_l_prcpdb; 00313 00314 unsigned int pcb_l_pixhist; 00315 int pcb_l_affinity_callback; 00316 unsigned int pcb_l_permanent_capability; 00317 int pcb_l_permanent_cpu_affinity; 00318 unsigned long long pcb_q_cwpssrv_queue; 00319 unsigned int pcb_l_current_affinity; 00320 int pcb_l_capability_seq; 00321 unsigned long long pcb_q_bufobj_list; 00322 unsigned int pcb_l_ast_blocked; 00323 void *pcb_l_class_quant; 00324 unsigned short int pcb_w_class_extra_ticks; 00325 unsigned char pcb_b_pkta_lock; 00326 unsigned char pcb_b_fill_2; 00327 void *pcb_a_current_tx; 00328 void *pcb_a_current_cd; 00329 void *pcb_a_current_vertex; 00330 union { 00331 unsigned long long pcb_q_xscb_que; 00332 struct { 00333 struct _xscb *pcb_a_xscb_flink; 00334 struct _xscb *pcb_a_xscb_blink; 00335 }; 00336 }; 00337 union { 00338 unsigned long long pcb_q_rmcb_que; 00339 struct { 00340 struct _rmcb *pcb_a_rmcb_flink; 00341 struct _rmcb *pcb_a_rmcb_blink; 00342 }; 00343 }; 00344 union { 00345 unsigned long long pcb_q_cd_que; 00346 struct { 00347 struct _cde *pcb_a_cd_flink; 00348 struct _cde *pcb_a_cd_blink; 00349 }; 00350 }; 00351 unsigned int pcb_l_dpc; 00352 unsigned int pcb_l_cputime_ref; 00353 unsigned int pcb_l_acc_waitime; 00354 int pcb_l_prcstr; 00355 void *pcb_l_xpcb; 00356 unsigned int pcb_l_psx_fork_status; 00357 union { 00358 unsigned int pcb_l_psx_flags; 00359 struct { 00360 unsigned pcb_v_fork : 1; 00361 unsigned pcb_v_psx_flags_fill : 31; 00362 }; 00363 }; 00364 void (*pcb_l_psx_actrtn)(); 00365 unsigned long long pcb_q_psx_actprm; 00366 unsigned int pcb_l_kernel_counter; 00367 unsigned int pcb_l_exec_counter; 00368 unsigned int pcb_l_super_counter; 00369 unsigned int pcb_l_user_counter; 00370 unsigned int pcb_l_sched_policy; 00371 int (*pcb_a_frewsle_callout)(); 00372 union { 00373 unsigned int pcb_l_frewsle_param; 00374 int pcb_l_pqb; 00375 00376 }; 00377 unsigned int pcb_l_bufobj_cnt; 00378 unsigned int pcb_l_noaudit; 00379 unsigned int pcb_l_source_epid; 00380 union { 00381 unsigned long long pcb_q_rdpb_que; 00382 struct { 00383 struct _rdpb *pcb_a_rdpb_flink; 00384 struct _rdpb *pcb_a_rdpb_blink; 00385 }; 00386 }; 00387 unsigned long long pcb_q_files_64; 00388 long long pcb_q_keep_in_ws; 00389 long long pcb_q_keep_in_ws2; 00390 unsigned int pcb_l_active_cpus; 00391 unsigned int pcb_l_tquantum; 00392 unsigned int pcb_l_multithread; 00393 unsigned int pcb_l_kt_count; 00394 unsigned int pcb_l_kt_high; 00395 void *pcb_l_ktbvec; 00396 struct _acb *pcb_l_wake_acb; 00397 unsigned int pcb_l_st_ack_count; 00398 union { 00399 unsigned int pcb_l_thread_events; 00400 struct { 00401 unsigned pcb_v_event_no_flag : 1; 00402 unsigned pcb_v_fill_20_ : 7; 00403 }; 00404 }; 00405 struct _acb *pcb_l_postef_acb; 00406 union { 00407 unsigned long long pcb_q_postef; 00408 struct { 00409 unsigned int pcb_l_postef1; 00410 unsigned int pcb_l_postef2; 00411 }; 00412 }; 00413 unsigned int pcb_l_swp_seq; 00414 unsigned int pcb_l_swp_kt; 00415 struct _acb *pcb_l_im_astqfl_spk; 00416 struct _acb *pcb_l_im_astqbl_spk; 00417 struct _acb *pcb_l_im_astqfl_k; 00418 struct _acb *pcb_l_im_astqbl_k; 00419 struct _acb *pcb_l_im_astqfl_e; 00420 struct _acb *pcb_l_im_astqbl_e; 00421 void *pcb_ps_ccbsva; 00422 unsigned int pcb_l_maxfix; 00423 void *pcb_ps_fandle; 00424 unsigned long long pcb_q_st_kt_array; 00425 struct _psb *pcb_ar_natural_psb; 00426 char pcb_b_spare_2 [4]; 00427 union { 00428 struct _ktb *pcb_l_initial_ktb; 00429 struct _pcb *pcb_l_pcb; 00430 }; 00431 char pcb_b_ktb_padding_1 [116]; 00432 void *pcb_l_ctx_waitq; 00433 struct _lkb *pcb_q_lockqfl; 00434 struct _lkb *pcb_q_lockqbl; 00435 char pcb_b_ktb_padding_2 [40]; 00436 struct _pcb *pcb_l_class_link; 00437 void *pcb_l_session_id; 00438 void *pcb_l_process_group; 00439 unsigned int pcb_l_creator; 00440 unsigned int pcb_l_lckrq; 00441 char pcb_b_fill_21_ [4]; 00442 }; 00443 00444 struct ktb { 00445 struct _ktb *ktb_l_sqfl; 00446 struct _ktb *ktb_l_sqbl; 00447 unsigned short int ktb_w_size; 00448 unsigned char ktb_b_type; 00449 unsigned char ktb_b_fill_1; 00450 unsigned int ktb_l_ast_pending; 00451 unsigned long long ktb_q_phypcb; 00452 char ktb_b_pcb_padding_1 [8]; 00453 struct _acb *ktb_l_astqfl_spk; 00454 struct _acb *ktb_l_astqbl_spk; 00455 struct _acb *ktb_l_astqfl_k; 00456 struct _acb *ktb_l_astqbl_k; 00457 struct _acb *ktb_l_astqfl_e; 00458 struct _acb *ktb_l_astqbl_e; 00459 struct _acb *ktb_l_astqfl_s; 00460 struct _acb *ktb_l_astqbl_s; 00461 struct _acb *ktb_l_astqfl_u; 00462 struct _acb *ktb_l_astqbl_u; 00463 char ktb_b_pcb_padding_2 [4]; 00464 int ktb_l_cpu_id; 00465 char ktb_b_pcb_padding_3 [24]; 00466 unsigned int ktb_l_astact; 00467 unsigned int ktb_l_state; 00468 unsigned int ktb_l_pri; 00469 unsigned int ktb_l_prib; 00470 unsigned int ktb_l_affinity_skip; 00471 unsigned int ktb_l_owner; 00472 union { 00473 unsigned int ktb_l_sts; 00474 struct { 00475 unsigned ktb_v_res : 1; 00476 unsigned ktb_v_delpen : 1; 00477 unsigned ktb_v_forcpen : 1; 00478 unsigned ktb_v_inquan : 1; 00479 unsigned ktb_v_pswapm : 1; 00480 unsigned ktb_v_respen : 1; 00481 unsigned ktb_v_ssfexc : 1; 00482 unsigned ktb_v_ssfexce : 1; 00483 unsigned ktb_v_ssfexcs : 1; 00484 unsigned ktb_v_ssfexcu : 1; 00485 unsigned ktb_v_ssrwait : 1; 00486 unsigned ktb_v_suspen : 1; 00487 unsigned ktb_v_wakepen : 1; 00488 unsigned ktb_v_wall : 1; 00489 unsigned ktb_v_batch : 1; 00490 unsigned ktb_v_noacnt : 1; 00491 unsigned ktb_v_nosuspend : 1; 00492 unsigned ktb_v_astpen : 1; 00493 unsigned ktb_v_phdres : 1; 00494 unsigned ktb_v_hiber : 1; 00495 unsigned ktb_v_login : 1; 00496 unsigned ktb_v_netwrk : 1; 00497 unsigned ktb_v_pwrast : 1; 00498 unsigned ktb_v_nodelet : 1; 00499 unsigned ktb_v_disaws : 1; 00500 unsigned ktb_v_inter : 1; 00501 unsigned ktb_v_recover : 1; 00502 unsigned ktb_v_secaudit : 1; 00503 unsigned ktb_v_hardaff : 1; 00504 unsigned ktb_v_erdact : 1; 00505 unsigned ktb_v_softsusp : 1; 00506 unsigned ktb_v_preempted : 1; 00507 }; 00508 }; 00509 union { 00510 unsigned int ktb_l_sts2; 00511 struct { 00512 unsigned ktb_v_quantum_resched : 1; 00513 unsigned ktb_v_fill_2 : 2; 00514 unsigned ktb_v_phdlock : 1; 00515 unsigned ktb_v_tcb : 1; 00516 unsigned ktb_v_tbs_state_pending : 1; 00517 unsigned ktb_v_fill_3 : 9; 00518 unsigned ktb_v_class_sched_perm : 1; 00519 unsigned ktb_v_term_notify : 1; 00520 unsigned ktb_v_bytlm_loan : 1; 00521 unsigned ktb_v_fill_4 : 1; 00522 unsigned ktb_v_nounshelve : 1; 00523 unsigned ktb_v_shelving_reserved : 1; 00524 unsigned ktb_v_class_scheduled : 1; 00525 unsigned ktb_v_class_supplied : 1; 00526 00527 00528 unsigned ktb_v_in_tbs_state : 1; 00529 unsigned ktb_v_windfall : 1; 00530 unsigned ktb_v_notify : 1; 00531 unsigned ktb_v_single_threaded : 4; 00532 unsigned ktb_v_fill_36_ : 2; 00533 }; 00534 }; 00535 unsigned int ktb_l_prisav; 00536 unsigned int ktb_l_pribsav; 00537 unsigned int ktb_l_authpri; 00538 unsigned int ktb_l_onqtime; 00539 00540 unsigned int ktb_l_waitime; 00541 char ktb_b_pcb_padding_4 [32]; 00542 unsigned int ktb_l_wefc; 00543 unsigned int ktb_l_efwm; 00544 char ktb_b_pcb_padding_5 [16]; 00545 unsigned int ktb_l_pid; 00546 00547 00548 00549 00550 union { 00551 unsigned int ktb_l_epid; 00552 struct { 00553 unsigned ktb_v_epid_proc : 21; 00554 unsigned ktb_v_epid_node_idx : 8; 00555 unsigned ktb_v_epid_node_seq : 2; 00556 unsigned ktb_v_epid_wild : 1; 00557 }; 00558 }; 00559 00560 char ktb_b_pcb_padding_6 [8]; 00561 unsigned int ktb_l_mtxcnt; 00562 char ktb_b_pcb_padding_7 [16]; 00563 struct _phd *ktb_l_phd; 00564 struct _jib *ktb_l_jib; 00565 char ktb_b_pcb_padding_8 [132]; 00566 unsigned int ktb_l_home_rad; 00567 unsigned int ktb_l_sra_skip_count; 00568 char ktb_b_pcb_padding_81 [12]; 00569 int ktb_l_affinity; 00570 unsigned int ktb_l_capability; 00571 char ktb_b_pcb_padding_9 [32]; 00572 unsigned int ktb_l_permanent_capability; 00573 int ktb_l_permanent_cpu_affinity; 00574 char ktb_b_pcb_padding_10 [8]; 00575 unsigned int ktb_l_current_affinity; 00576 int ktb_l_capability_seq; 00577 char ktb_b_pcb_padding_11 [8]; 00578 unsigned int ktb_l_ast_blocked; 00579 void *ktb_l_class_quant; 00580 unsigned short int ktb_w_class_extra_ticks; 00581 char ktb_b_pcb_padding_12 [94]; 00582 unsigned int ktb_l_sched_policy; 00583 char ktb_b_pcb_padding_13 [160]; 00584 union { 00585 struct _pcb *ktb_l_pcb; 00586 struct _ktb *ktb_l_initial_ktb; 00587 }; 00588 union { 00589 unsigned int ktb_l_flags; 00590 struct { 00591 unsigned ktb_v_delete_pending : 1; 00592 unsigned ktb_v_sched_context_saved : 1; 00593 unsigned ktb_v_single_thread_act : 4; 00594 unsigned ktb_v_tolerant : 1; 00595 unsigned ktb_v_soft_rad_affinity : 1; 00596 }; 00597 }; 00598 union { 00599 struct _fred *ktb_l_fred; 00600 struct _fred *ktb_l_virpcb; 00601 }; 00602 void *ktb_l_per_kt_area; 00603 struct _acb *ktb_l_tquant_acb; 00604 unsigned int ktb_l_tquant; 00605 unsigned int ktb_l_quant; 00606 void *ktb_l_tm_callbacks; 00607 unsigned int ktb_l_callback_err; 00608 union { 00609 unsigned long long ktb_q_capabilities; 00610 struct { 00611 unsigned int ktb_l_capabilities; 00612 unsigned int ktb_l_affinities; 00613 }; 00614 }; 00615 union { 00616 unsigned long long ktb_q_permanent_capabilities; 00617 struct { 00618 unsigned int ktb_l_permanent_capabilities; 00619 unsigned int ktb_l_permanent_affinities; 00620 }; 00621 }; 00622 union { 00623 unsigned long long ktb_q_saved_capabilities; 00624 struct { 00625 unsigned int ktb_l_saved_capabilities; 00626 unsigned int ktb_l_saved_affinities; 00627 }; 00628 }; 00629 unsigned int ktb_l_bias_cell; 00630 unsigned int ktb_l_persona_id; 00631 struct _psb *ktb_ar_psb; 00632 unsigned int ktb_l_swp_seq; 00633 long long ktb_q_vol_waits; 00634 int ktb_l_curr_vol_waits; 00635 int ktb_l_qend_count; 00636 unsigned long long ktb_q_comq_wait; 00637 00638 unsigned long long ktb_q_runtime_start; 00639 unsigned long long ktb_q_inttime_start; 00640 00641 int ktb_l_soft_broken; 00642 char ktb_b_pcb_padding_14 [20]; 00643 unsigned long long ktb_q_acc_run; 00644 unsigned long long ktb_q_acc_wait; 00645 unsigned long long ktb_q_acc_interrupt; 00646 int ktb_l_run_count; 00647 unsigned int ktb_l_glock_wait_status; 00648 unsigned long long ktb_q_glock; 00649 char ktb_b_pcb_padding_15 [16]; 00650 unsigned int ktb_l_lckrq; 00651 char ktb_b_fill_37_ [4]; 00652 }; 00653 00654 #endif 00655 00656