/darwin-on-arm/xnu/libsyscall/mach/ |
H A D | exc_catcher_state.c | 49 int *flavor, 65 return (*exc_raise_state_func)(exception_port, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt); 68 return catch_exception_raise_state(exception_port, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt); 44 internal_catch_exception_raise_state( mach_port_t exception_port, exception_type_t exception, exception_data_t code, mach_msg_type_number_t codeCnt, int *flavor, thread_state_t old_state, mach_msg_type_number_t old_stateCnt, thread_state_t new_state, mach_msg_type_number_t *new_stateCnt) argument
|
H A D | exc_catcher_state_identity.c | 51 int *flavor, 67 return (*exc_raise_state_identity_func)(exception_port, thread, task, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt); 70 return catch_exception_raise_state_identity(exception_port, thread, task, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt); 44 internal_catch_exception_raise_state_identity( mach_port_t exception_port, mach_port_t thread, mach_port_t task, exception_type_t exception, exception_data_t code, mach_msg_type_number_t codeCnt, int *flavor, thread_state_t old_state, mach_msg_type_number_t old_stateCnt, thread_state_t new_state, mach_msg_type_number_t *new_stateCnt) argument
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | machine_task.c | 66 int flavor, 70 switch (flavor) { 116 if ((tstate->dsh.flavor == x86_DEBUG_STATE32) && 128 } else if ((tstate->dsh.flavor == x86_DEBUG_STATE64) && 155 int flavor, 159 switch (flavor) { 202 tstate->dsh.flavor = x86_DEBUG_STATE64; 211 tstate->dsh.flavor = x86_DEBUG_STATE32; 267 int flavor; local 271 flavor 64 machine_task_set_state( task_t task, int flavor, thread_state_t state, mach_msg_type_number_t state_count) argument 154 machine_task_get_state(task_t task, int flavor, thread_state_t state, mach_msg_type_number_t *state_count) argument [all...] |
H A D | pcb.c | 105 * Maps state flavor to number of words in the state: 792 thread_flavor_t flavor, 796 switch (flavor) { 939 return fpu_set_fxstate(thr_act, tstate, flavor); 950 return fpu_set_fxstate(thr_act, tstate, flavor); 961 if (state->fsh.flavor == x86_FLOAT_STATE64 && state->fsh.count == x86_FLOAT_STATE64_COUNT && 965 if (state->fsh.flavor == x86_FLOAT_STATE32 && state->fsh.count == x86_FLOAT_STATE32_COUNT && 980 return fpu_set_fxstate(thr_act, tstate, flavor); 991 return fpu_set_fxstate(thr_act, tstate, flavor); 1002 if (state->ash.flavor 790 machine_thread_set_state( thread_t thr_act, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count) argument 1129 machine_thread_get_state( thread_t thr_act, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t *count) argument 1524 machine_thread_get_kern_state( thread_t thread, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t *count) argument [all...] |
/darwin-on-arm/xnu/osfmk/mach/ |
H A D | thread_act.defs | 95 flavor : int; 110 flavor : int; 124 flavor : thread_state_flavor_t; 139 flavor : thread_state_flavor_t; 215 flavor : thread_flavor_t; 271 flavor : thread_policy_flavor_t; 276 flavor : thread_policy_flavor_t;
|
H A D | processor_set.defs | 79 flavor : processor_set_flavor_t; 134 flavor : processor_set_flavor_t; 157 flavor : int;
|
H A D | clock_priv.defs | 66 in flavor : clock_flavor_t;
|
H A D | exc.defs | 99 inout flavor : int; 115 inout flavor : int;
|
H A D | mach_exc.defs | 99 inout flavor : int; 115 inout flavor : int;
|
H A D | clock.defs | 67 in flavor : clock_flavor_t;
|
H A D | mach_host.defs | 96 flavor : host_flavor_t; 139 flavor : processor_flavor_t; 233 flavor : host_flavor_t; 251 flavor : host_flavor_t;
|
H A D | processor.defs | 96 flavor : processor_flavor_t;
|
H A D | task.defs | 123 flavor : task_flavor_t; 131 flavor : task_flavor_t; 188 * by flavor and new_state. Returns the port representing 198 flavor : thread_state_flavor_t; 275 flavor : task_policy_flavor_t; 280 flavor : task_policy_flavor_t; 401 flavor : thread_state_flavor_t; 410 flavor : thread_state_flavor_t;
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | machine.h | 77 processor_flavor_t flavor, 83 processor_flavor_t flavor,
|
H A D | exception.c | 137 int flavor; local 170 flavor = excp->flavor; 189 state_cnt = _MachineStateCount[flavor]; 190 kr = thread_getstatus(thread, flavor, 199 &flavor, 206 &flavor, 211 kr = thread_setstatus(thread, flavor, 244 state_cnt = _MachineStateCount[flavor]; 245 kr = thread_getstatus(thread, flavor, [all...] |
H A D | thread_act.c | 395 thread_flavor_t flavor, 408 thread, flavor, thread_info_out, thread_info_count); 420 int flavor, 440 thread, flavor, state, state_count); 452 thread, flavor, state, state_count); 469 int flavor, 490 thread, flavor, state, state_count); 502 thread, flavor, state, state_count); 519 int flavor, 526 int flavor, 393 thread_info( thread_t thread, thread_flavor_t flavor, thread_info_t thread_info_out, mach_msg_type_number_t *thread_info_count) argument 418 thread_get_state( register thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t *state_count) argument 467 thread_set_state_internal( register thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t state_count, boolean_t from_user) argument 524 thread_set_state( register thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t state_count) argument 534 thread_set_state_from_user( register thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t state_count) argument 638 thread_setstatus( register thread_t thread, int flavor, thread_state_t tstate, mach_msg_type_number_t count) argument 654 thread_getstatus( register thread_t thread, int flavor, thread_state_t tstate, mach_msg_type_number_t *count) argument 862 act_set_state( thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t count) argument 876 act_set_state_from_user( thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t count) argument 890 act_get_state( thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t *count) argument [all...] |
H A D | exception.h | 46 thread_state_flavor_t flavor; /* state flavor to send */ member in struct:exception_action
|
H A D | processor.c | 273 processor_flavor_t flavor, 276 switch (flavor) { 287 return (cpu_info_count(flavor, count)); 297 processor_flavor_t flavor, 310 switch (flavor) { 385 result = cpu_info(flavor, cpu_id, info, count); 556 int flavor, 564 if (flavor == PROCESSOR_SET_BASIC_INFO) { 578 else if (flavor == PROCESSOR_SET_TIMESHARE_DEFAULT) { 591 else if (flavor 272 processor_info_count( processor_flavor_t flavor, mach_msg_type_number_t *count) argument 295 processor_info( register processor_t processor, processor_flavor_t flavor, host_t *host, processor_info_t info, mach_msg_type_number_t *count) argument 554 processor_set_info( processor_set_t pset, int flavor, host_t *host, processor_set_info_t info, mach_msg_type_number_t *count) argument 682 processor_set_statistics( processor_set_t pset, int flavor, processor_set_info_t info, mach_msg_type_number_t *count) argument 988 processor_set_policy_control( __unused processor_set_t pset, __unused int flavor, __unused processor_set_info_t policy_info, __unused mach_msg_type_number_t count, __unused boolean_t change) argument [all...] |
H A D | host.c | 145 host_flavor_t flavor, 153 switch (flavor) { 269 host_flavor_t flavor, 278 switch(flavor) { 470 host_flavor_t flavor, 479 switch(flavor) { 569 default: /* If we didn't recognize the flavor, send to host_statistics */ 570 return(host_statistics(host, flavor, (host_info_t) info, count)); 582 host_flavor_t flavor, 586 return(host_statistics((host_t)host_priv, flavor, inf 143 host_info( host_t host, host_flavor_t flavor, host_info_t info, mach_msg_type_number_t *count) argument 267 host_statistics( host_t host, host_flavor_t flavor, host_info_t info, mach_msg_type_number_t *count) argument 468 host_statistics64( host_t host, host_flavor_t flavor, host_info64_t info, mach_msg_type_number_t *count) argument 580 host_priv_statistics( host_priv_t host_priv, host_flavor_t flavor, host_info_t info, mach_msg_type_number_t *count) argument 754 host_processor_info( host_t host, processor_flavor_t flavor, natural_t *out_pcount, processor_info_array_t *out_array, mach_msg_type_number_t *out_array_count) argument [all...] |
/darwin-on-arm/xnu/bsd/dev/arm/ |
H A D | unix_signals.c | 105 int oonstack, flavor, error; local 115 flavor = ARM_THREAD_STATE; 118 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS) 121 flavor = ARM_EXCEPTION_STATE; 124 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS) 127 flavor = ARM_VFP_STATE; 130 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS) 295 flavor = ARM_THREAD_STATE; 298 if ((error = thread_setstatus(thread, flavor, (thread_state_t)state, state_count)) != KERN_SUCCESS) 338 int error, flavor; local [all...] |
/darwin-on-arm/xnu/osfmk/chud/ |
H A D | chud_xnu.h | 72 extern kern_return_t chudxnu_thread_get_state(thread_t thread, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t *count, boolean_t user_only); 73 extern kern_return_t chudxnu_thread_set_state(thread_t thread, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count, boolean_t user_only); 84 extern kern_return_t chudxnu_thread_info( thread_t thread, thread_flavor_t flavor, thread_info_t thread_info_out, mach_msg_type_number_t *thread_info_count); 177 typedef kern_return_t (*chudxnu_cpu_timer_callback_func_t)(thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count); 193 typedef kern_return_t (*chudxnu_trap_callback_func_t)(uint32_t trapentry, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count); 208 typedef kern_return_t (*chudxnu_interrupt_callback_func_t)(uint32_t trapentry, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count); 213 typedef kern_return_t (*chudxnu_perfmon_ast_callback_func_t)(thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count); 219 typedef kern_return_t (*chudxnu_cpusig_callback_func_t)(int request, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count);
|
/darwin-on-arm/xnu/osfmk/kdp/ |
H A D | kdp_internal.h | 138 unsigned int flavor, 147 unsigned int flavor,
|
/darwin-on-arm/xnu/osfmk/mach/arm/ |
H A D | thread_act.h | 65 int flavor, 79 int flavor, 93 thread_state_flavor_t flavor, 107 thread_state_flavor_t flavor, 202 thread_flavor_t flavor, 283 thread_policy_flavor_t flavor, 297 thread_policy_flavor_t flavor, 413 int flavor; member in struct:__anon1178 426 int flavor; member in struct:__anon1179 440 thread_state_flavor_t flavor; member in struct:__anon1180 453 thread_state_flavor_t flavor; member in struct:__anon1181 545 thread_flavor_t flavor; member in struct:__anon1189 621 thread_policy_flavor_t flavor; member in struct:__anon1194 635 thread_policy_flavor_t flavor; member in struct:__anon1195 [all...] |
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | status.c | 66 kern_return_t thread_userstack(thread_t thread, int flavor, argument 75 switch (flavor) { 113 kern_return_t thread_entrypoint(thread_t thread, int flavor, argument 125 switch (flavor) { 156 kern_return_t machine_thread_get_state(thread_t thr_act, thread_flavor_t flavor, argument 160 switch (flavor) { 256 kern_return_t machine_thread_set_state(thread_t thread, thread_flavor_t flavor, argument 261 switch (flavor) { /* Validate the count before we do anything else */ 291 switch (flavor) {
|
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | unix_signal.c | 66 extern kern_return_t thread_getstatus(register thread_t act, int flavor, 68 extern kern_return_t thread_setstatus(thread_t thread, int flavor, 155 int oonstack, flavor; local 192 flavor = x86_THREAD_STATE64; 195 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS) 199 flavor = x86_AVX_STATE64; 203 flavor = x86_FLOAT_STATE64; 207 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS) 210 flavor = x86_EXCEPTION_STATE64; 213 if (thread_getstatus(thread, flavor, (thread_state_ [all...] |