/haiku/headers/private/kernel/ |
H A D | cpu.h | 51 typedef struct CACHE_LINE_ALIGN cpu_ent { struct 88 } cpu_ent; argument 91 extern cpu_ent gCPU[]; 108 cpu_ent *get_cpu_struct(void); 109 extern inline cpu_ent *get_cpu_struct(void) { return &gCPU[smp_get_current_cpu()]; } in get_cpu_struct()
|
H A D | thread_types.h | 61 struct cpu_ent; 450 struct cpu_ent *cpu; // protected by scheduler lock 451 struct cpu_ent *previous_cpu; // protected by scheduler lock 562 struct cpu_ent *cpu);
|
/haiku/src/system/kernel/arch/ppc/ |
H A D | asm_offsets.cpp | 31 DEFINE_OFFSET_MACRO(CPU_ENT, cpu_ent, fault_handler); in dummy() 32 DEFINE_OFFSET_MACRO(CPU_ENT, cpu_ent, fault_handler_stack_pointer); in dummy()
|
/haiku/src/tests/system/kernel/scheduler/ |
H A D | override_types.h | 15 struct cpu_ent { 29 struct cpu_ent *cpu;
|
H A D | main.cpp | 55 cpu_ent* GetCPU() { return &fCPU; } in GetCPU() 69 struct cpu_ent fCPU; 147 memset(&fCPU, 0, sizeof(struct cpu_ent)); in CPU()
|
/haiku/src/system/kernel/arch/arm64/ |
H A D | asm_offsets.cpp | 44 DEFINE_OFFSET_MACRO(CPU_ENT, cpu_ent, fault_handler); in dummy() 45 DEFINE_OFFSET_MACRO(CPU_ENT, cpu_ent, fault_handler_stack_pointer); in dummy()
|
/haiku/src/system/kernel/arch/x86/64/ |
H A D | errata.cpp | 36 patch_errata_percpu_amd(int currentCPU, const cpu_ent* cpu) in patch_errata_percpu_amd() 131 const cpu_ent* cpu = get_cpu_struct(); in __x86_patch_errata_percpu()
|
/haiku/src/system/kernel/arch/arm/ |
H A D | asm_offsets.cpp | 34 DEFINE_OFFSET_MACRO(CPU_ENT, cpu_ent, fault_handler); in dummy() 35 DEFINE_OFFSET_MACRO(CPU_ENT, cpu_ent, fault_handler_stack_pointer); in dummy()
|
/haiku/src/tests/add-ons/kernel/kernelland_emu/ |
H A D | smp.cpp | 19 cpu_ent gCPU[8];
|
/haiku/src/system/kernel/arch/x86/ |
H A D | asm_offsets.cpp | 34 DEFINE_OFFSET_MACRO(CPU_ENT, cpu_ent, fault_handler); in dummy() 35 DEFINE_OFFSET_MACRO(CPU_ENT, cpu_ent, fault_handler_stack_pointer); in dummy()
|
H A D | arch_cpu.cpp | 380 dump_feature_string(int currentCPU, cpu_ent* cpu) in dump_feature_string() 938 detect_cpu_topology(int currentCPU, cpu_ent* cpu, uint32 maxBasicLeaf, in detect_cpu_topology() 1014 detect_intel_patch_level(cpu_ent* cpu) in detect_intel_patch_level() 1031 detect_amd_patch_level(cpu_ent* cpu) in detect_amd_patch_level() 1126 load_microcode_intel(int currentCPU, cpu_ent* cpu) in load_microcode_intel() 1246 load_microcode_amd(int currentCPU, cpu_ent* cpu) in load_microcode_amd() 1288 cpu_ent* cpu = get_cpu_struct(); in load_microcode() 1301 cpu_ent* cpu = get_cpu_struct(); in get_hybrid_cpu_type() 1329 cpu_ent* cpu = get_cpu_struct(); in detect_cpu() 1505 cpu_ent* cpu = get_cpu_struct(); in x86_check_feature() [all …]
|
H A D | arch_thread.cpp | 198 cpu_ent* cpuData = to->cpu; in arch_thread_context_switch()
|
H A D | arch_system_info.cpp | 66 cpu_ent* cpu = get_cpu_struct(); in arch_system_info_init()
|
/haiku/src/system/kernel/arch/sparc/ |
H A D | arch_debug.cpp | 34 arch_debug_call_with_fault_handler(cpu_ent* cpu, jmp_buf jumpBuffer, in arch_debug_call_with_fault_handler()
|
/haiku/headers/private/kernel/arch/ |
H A D | debug.h | 47 void arch_debug_call_with_fault_handler(cpu_ent* cpu, jmp_buf jumpBuffer,
|
/haiku/src/add-ons/kernel/drivers/power/x86_cpuidle/ |
H A D | acpi_cpuidle.cpp | 196 cpu_ent *cpu = get_cpu_struct(); in acpi_cstate_ffh_enter() 209 cpu_ent *cpu = get_cpu_struct(); in acpi_cstate_halt() 350 cpu_ent *cpu = get_cpu_struct(); in acpi_cstate_add() 373 cpu_ent *cpu = get_cpu_struct(); in acpi_cstate_quirks()
|
/haiku/src/add-ons/kernel/power/cpufreq/amd_pstates/ |
H A D | amd_pstates.cpp | 57 is_cpu_model_supported(cpu_ent* cpu) in is_cpu_model_supported()
|
/haiku/src/system/kernel/scheduler/ |
H A D | power_saving.cpp | 198 cpu_ent* cpu = get_cpu_struct(); in pack_irqs() 230 cpu_ent* cpu = get_cpu_struct(); in rebalance_irqs()
|
H A D | scheduler.cpp | 245 continue_cpu_timers(Thread* thread, cpu_ent* cpu) in continue_cpu_timers() 260 cpu_ent* cpu = thread->cpu; in thread_resumes() 301 cpu_ent* cpu = fromThread->cpu; in switch_thread()
|
H A D | scheduler_cpu.cpp | 111 cpu_ent* entry = &gCPU[fCPUNumber]; in Stop() 264 cpu_ent* cpuEntry = &gCPU[fCPUNumber]; in TrackActivity() 301 cpu_ent* cpu = &gCPU[ID()]; in StartQuantumTimer()
|
H A D | low_latency.cpp | 143 cpu_ent* cpu = get_cpu_struct(); in rebalance_irqs()
|
/haiku/src/system/kernel/ |
H A D | int.cpp | 369 cpu_ent* cpu = get_cpu_struct(); in int_io_interrupt_handler() 476 cpu_ent* cpu = &gCPU[cpuID]; in install_io_interrupt_handler() 578 cpu_ent* cpu; in remove_io_interrupt_handler() 741 cpu_ent* cpu = &gCPU[oldCPU]; in assign_io_interrupt_to_cpu()
|
/haiku/src/system/kernel/arch/riscv64/ |
H A D | arch_cpu.cpp | 52 cpu_ent* cpu = &gCPU[curCpu]; in arch_cpu_init()
|
/haiku/src/add-ons/kernel/power/cpufreq/intel_pstates/ |
H A D | intel_pstates.cpp | 153 is_cpu_model_supported(cpu_ent* cpu) in is_cpu_model_supported()
|
/haiku/src/system/kernel/arch/m68k/ |
H A D | arch_debug.cpp | 356 arch_debug_call_with_fault_handler(cpu_ent* cpu, jmp_buf jumpBuffer, in arch_debug_call_with_fault_handler()
|