Home
last modified time | relevance | path

Searched defs:cpu (Results 1 – 25 of 108) sorted by relevance

12345

/haiku/src/system/kernel/arch/x86/32/
H A Ddescriptors.cpp70 set_interrupt_gate(int32 cpu, int n, void (*addr)()) in set_interrupt_gate()
82 set_trap_gate(int32 cpu, int n, void (*addr)()) in set_trap_gate()
95 set_task_gate(int32 cpu, int32 n, int32 segment) in set_task_gate()
111 load_gdt(int cpu) in load_gdt()
126 load_idt(int cpu) in load_idt()
146 int cpu = x86_double_fault_get_cpu(); in x86_double_fault_exception() local
186 cpu_ent& cpu = gCPU[x86_double_fault_get_cpu()]; in x86_page_fault_exception_double_fault() local
240 init_gdt_percpu(kernel_args* args, int cpu) in init_gdt_percpu()
287 init_idt_percpu(kernel_args* args, int cpu) in init_idt_percpu()
553 x86_descriptors_preboot_init_percpu(kernel_args* args, int cpu) in x86_descriptors_preboot_init_percpu()
/haiku/headers/compatibility/gnu/
H A Dsched.h37 #define _CPUSET_BITSINDEX(cpu) ((cpu) / NCPUSETBITS) argument
38 #define _CPUSET_BIT(cpu) (1L << ((cpu) % NCPUSETBITS)) argument
44 #define CPUSET_SET(cpu, set) ((set)->bits[_CPUSET_BITSINDEX(cpu)] |= _CPUSET_BIT(cpu)) argument
45 #define CPUSET_CLR(cpu, set) ((set)->bits[_CPUSET_BITSINDEX(cpu)] &= ~_CPUSET_BIT(cpu)) argument
46 #define CPUSET_ISSET(cpu, set) ((set)->bits[_CPUSET_BITSINDEX(cpu)] & _CPUSET_BIT(cpu)) argument
/haiku/src/system/kernel/arch/x86/
H A Darch_cpu.cpp184 set_mtrr(void* _parameter, int cpu) in set_mtrr()
213 set_mtrrs(void* _parameter, int cpu) in set_mtrrs()
241 init_mtrrs(void* _unused, int cpu) in init_mtrrs()
326 init_pat(int cpu) in init_pat()
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()
[all …]
H A Darch_system_info.cpp66 cpu_ent* cpu = get_cpu_struct(); in arch_system_info_init() local
120 arch_fill_topology_node(cpu_topology_node_info* node, int32 cpu) in arch_fill_topology_node()
150 get_frequency_for(void *_frequency, int cpu) in get_frequency_for()
179 arch_get_frequency(uint64 *frequency, int32 cpu) in arch_get_frequency()
H A Darch_smp.cpp54 int cpu = smp_get_current_cpu(); in x86_ici_interrupt() local
83 x86_get_cpu_apic_id(int32 cpu) in x86_get_cpu_apic_id()
122 arch_smp_per_cpu_init(kernel_args *args, int32 cpu) in arch_smp_per_cpu_init()
/haiku/src/add-ons/kernel/interrupt_controllers/openpic/
H A Dopenpic.h99 #define OPENPIC_IPI(cpu, ipi) (0x20040 + (cpu) * 0x1000 + (ipi)) argument
102 #define OPENPIC_CPU_PRIORITY(cpu) (0x20080 + (cpu) * 0x1000) argument
106 #define OPENPIC_IACK(cpu) (0x200a0 + (cpu) * 0x1000) argument
109 #define OPENPIC_EOI(cpu) (0x200b0 + (cpu) * 0x1000) argument
/haiku/src/system/kernel/arch/m68k/
H A Darch_system_info.cpp26 arch_fill_topology_node(cpu_topology_node_info* node, int32 cpu) in arch_fill_topology_node()
63 arch_get_frequency(uint64 *frequency, int32 cpu) in arch_get_frequency()
/haiku/src/system/kernel/arch/arm64/
H A Darch_system_info.cpp20 arch_fill_topology_node(cpu_topology_node_info* node, int32 cpu) in arch_fill_topology_node()
33 arch_get_frequency(uint64 *frequency, int32 cpu) in arch_get_frequency()
/haiku/src/system/kernel/arch/riscv64/
H A Darch_system_info.cpp25 arch_fill_topology_node(cpu_topology_node_info* node, int32 cpu) in arch_fill_topology_node()
58 arch_get_frequency(uint64 *frequency, int32 cpu) in arch_get_frequency()
/haiku/src/system/kernel/arch/sparc/
H A Darch_system_info.cpp25 arch_fill_topology_node(cpu_topology_node_info* node, int32 cpu) in arch_fill_topology_node()
38 arch_get_frequency(uint64 *frequency, int32 cpu) in arch_get_frequency()
/haiku/src/system/kernel/arch/arm/
H A Darch_system_info.cpp28 arch_fill_topology_node(cpu_topology_node_info* node, int32 cpu) in arch_fill_topology_node()
60 arch_get_frequency(uint64 *frequency, int32 cpu) in arch_get_frequency()
/haiku/src/system/kernel/arch/x86/64/
H A Derrata.cpp36 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() local
/haiku/src/system/kernel/arch/arm/paging/
H A DARMVMTranslationMap.cpp115 int cpu = smp_get_current_cpu(); in Flush() local
135 int cpu = smp_get_current_cpu(); in Flush() local
/haiku/src/system/kernel/arch/m68k/paging/
H A DM68KVMTranslationMap.cpp115 int cpu = smp_get_current_cpu(); in Flush() local
135 int cpu = smp_get_current_cpu(); in Flush() local
/haiku/src/system/kernel/arch/ppc/paging/
H A DPPCVMTranslationMap.cpp115 int cpu = smp_get_current_cpu(); in Flush() local
135 int cpu = smp_get_current_cpu(); in Flush() local
/haiku/src/system/kernel/arch/x86/paging/
H A DX86VMTranslationMap.cpp115 int cpu = smp_get_current_cpu(); in Flush() local
135 int cpu = smp_get_current_cpu(); in Flush() local
/haiku/src/system/kernel/arch/ppc/
H A Darch_system_info.cpp62 arch_fill_topology_node(cpu_topology_node_info* node, int32 cpu) in arch_fill_topology_node()
116 arch_get_frequency(uint64 *frequency, int32 cpu) in arch_get_frequency()
/haiku/src/apps/activitymonitor/
H A DSystemInfo.h46 bigtime_t CPUActiveTime(uint32 cpu) const in CPUActiveTime()
48 uint64 CPUCurrentFrequency(uint32 cpu) const in CPUCurrentFrequency()
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dtimer.cpp57 cpu_status cpu; in timer_thread() local
117 cpu_status cpu; in create_timer() local
155 cpu_status cpu; in delete_timer() local
/haiku/src/system/kernel/scheduler/
H A Dpower_saving.cpp33 set_cpu_enabled(int32 cpu, bool enabled) in set_cpu_enabled()
198 cpu_ent* cpu = get_cpu_struct(); in pack_irqs() local
230 cpu_ent* cpu = get_cpu_struct(); in rebalance_irqs() local
H A Dscheduler_locking.h19 inline bool Lock(CPUEntry* cpu) in Lock()
25 inline void Unlock(CPUEntry* cpu) in Unlock()
/haiku/src/add-ons/kernel/power/cpufreq/amd_pstates/
H A Damd_pstates.cpp57 is_cpu_model_supported(cpu_ent* cpu) in is_cpu_model_supported()
67 set_normal_pstate(void* /* dummy */, int cpu) in set_normal_pstate()
/haiku/src/tests/libs/gnu/
H A Dsched_getcpu_test.cpp14 int cpu = sched_getcpu(); in main() local
/haiku/headers/private/kernel/
H A Dsmp.h131 CPUSet::SetBit(int32 cpu) in SetBit()
139 CPUSet::ClearBit(int32 cpu) in ClearBit()
147 CPUSet::SetBitAtomic(int32 cpu) in SetBitAtomic()
155 CPUSet::ClearBitAtomic(int32 cpu) in ClearBitAtomic()
163 CPUSet::GetBit(int32 cpu) const in GetBit()
/haiku/src/system/kernel/
H A Dcpu.cpp163 cpu_get_active_time(int32 cpu) in cpu_get_active_time()
181 cpu_frequency(int32 cpu) in cpu_frequency()
376 _user_cpu_enabled(int32 cpu) in _user_cpu_enabled()
386 _user_set_cpu_enabled(int32 cpu, bool enabled) in _user_set_cpu_enabled()

12345