Searched refs:cpu (Results 26 - 50 of 266) sorted by relevance

1234567891011

/haiku/src/system/kernel/arch/x86/64/
H A Ddescriptors.cpp11 #include <cpu.h>
97 unsigned SetTSS(unsigned cpu,
99 unsigned SetUserTLS(unsigned cpu,
270 GlobalDescriptorTable::SetTSS(unsigned cpu, const TSSDescriptor& tss) argument
272 auto index = kFirstTSS + cpu * 3;
281 GlobalDescriptorTable::SetUserTLS(unsigned cpu, uintptr_t base, size_t limit) argument
283 auto index = kFirstTSS + cpu * 3 + 2;
355 cpu_ent* cpu = &gCPU[smp_get_current_cpu()]; local
356 if (cpu->fault_handler != 0) {
358 frame->ip = cpu
381 x86_descriptors_preboot_init_percpu(kernel_args* args, int cpu) argument
446 x86_64_set_user_tls_segment_base(int cpu, addr_t base) argument
[all...]
/haiku/src/system/kernel/arch/m68k/
H A Darch_int.cpp99 arch_int_assign_to_cpu(int32 irq, int32 cpu) argument
122 frame->cpu.pc, frame->cpu.sr);
136 switch (iframe->cpu.type) {
141 return iframe->cpu.type_2.instruction_address;
143 return iframe->cpu.type_3.effective_address;
145 return iframe->cpu.type_7.effective_address;
147 return iframe->cpu.type_9.instruction_address;
149 return iframe->cpu.type_a.fault_address;
151 return iframe->cpu
[all...]
H A Darch_040_mmu.cpp9 #include <arch/cpu.h>
H A Darch_commpage.cpp12 #include <cpu.h>
/haiku/headers/private/kernel/arch/mipsel/
H A Darch_int.h37 struct mipsel_cpu_exception_context* mipsel_get_cpu_exception_context(int cpu);
/haiku/headers/private/kernel/arch/ppc/
H A Darch_thread.h12 #include <arch/cpu.h>
H A Darch_kernel.h8 #include <arch/cpu.h>
/haiku/headers/private/kernel/arch/
H A Dsmp.h18 status_t arch_smp_per_cpu_init(kernel_args* args, int32 cpu);
/haiku/headers/private/kernel/arch/x86/
H A Darch_system_info.h19 status_t _user_get_cpuid(cpuid_info* info, uint32 eax, uint32 cpu);
/haiku/src/system/kernel/arch/x86/paging/
H A DX86VMTranslationMap.cpp115 int cpu = smp_get_current_cpu(); local
117 cpuMask.ClearBit(cpu);
135 int cpu = smp_get_current_cpu(); local
137 cpuMask.ClearBit(cpu);
/haiku/src/system/kernel/arch/arm/paging/
H A DARMVMTranslationMap.cpp115 int cpu = smp_get_current_cpu(); local
117 cpuMask.ClearBit(cpu);
135 int cpu = smp_get_current_cpu(); local
137 cpuMask.ClearBit(cpu);
/haiku/src/system/kernel/arch/m68k/paging/
H A DM68KVMTranslationMap.cpp115 int cpu = smp_get_current_cpu(); local
117 cpuMask.ClearBit(cpu);
135 int cpu = smp_get_current_cpu(); local
137 cpuMask.ClearBit(cpu);
/haiku/headers/private/kernel/arch/m68k/
H A Darch_kernel.h8 #include <arch/cpu.h>
/haiku/headers/private/kernel/arch/sparc/
H A Darch_kernel.h9 #include <arch/cpu.h>
/haiku/src/system/kernel/arch/ppc/paging/
H A DPPCVMTranslationMap.cpp115 int cpu = smp_get_current_cpu(); local
117 cpuMask.ClearBit(cpu);
135 int cpu = smp_get_current_cpu(); local
137 cpuMask.ClearBit(cpu);
/haiku/src/system/kernel/arch/arm64/
H A Darch_smp.cpp21 arch_smp_per_cpu_init(kernel_args *args, int32 cpu) argument
/haiku/headers/private/kernel/arch/arm/
H A Darch_kernel.h8 #include <arch/cpu.h>
H A Darch_thread.h13 #include <arch/cpu.h>
/haiku/src/system/boot/platform/efi/
H A Dcpu.cpp12 #include <arch/cpu.h>
/haiku/src/apps/activitymonitor/
H A DSystemInfo.h46 bigtime_t CPUActiveTime(uint32 cpu) const
47 { return fCPUInfos[cpu].active_time; }
48 uint64 CPUCurrentFrequency(uint32 cpu) const
49 { return fCPUInfos[cpu].current_frequency; }
/haiku/headers/private/kernel/arch/arm64/
H A Darch_thread.h10 #include <arch/cpu.h>
/haiku/src/system/kernel/arch/riscv64/
H A Darch_cpu.cpp9 #include <arch/cpu.h>
52 cpu_ent* cpu = &gCPU[curCpu]; local
54 cpu->arch.hartId = args->arch_args.hartIds[curCpu];
56 cpu->topology_id[CPU_TOPOLOGY_PACKAGE] = 0;
57 cpu->topology_id[CPU_TOPOLOGY_CORE] = curCpu;
58 cpu->topology_id[CPU_TOPOLOGY_SMT] = 0;
61 cpu->cache_id[i] = -1;
/haiku/src/add-ons/media/plugins/ffmpeg/
H A Dgfx_util.cpp32 CPUCapabilities cpu; local
50 if (cpu.HasSSSE3() && width % 8 == 0 && height % 2 == 0) {
53 } else if (cpu.HasSSE2() && width % 8 == 0 && height % 2 == 0) {
56 } else if (cpu.HasSSE1() && width % 4 == 0
69 if (cpu.HasSSSE3() && width % 8 == 0) {
72 } else if (cpu.HasSSE2() && width % 8 == 0) {
75 } else if (cpu.HasSSE1() && width % 4 == 0) {
91 if (cpu.HasSSSE3() && width % 8 == 0) {
93 } else if (cpu.HasSSE2() && width % 8 == 0) {
95 } else if (cpu
[all...]
/haiku/src/system/boot/platform/openfirmware/arch/ppc/
H A Dcpu.cpp50 while (of_get_next_device(&cookie, cpus, "cpu", cpuPath,
57 int cpu = of_finddevice(cpuPath); local
58 if (cpu == OF_FAILED) {
66 if (of_getprop(cpu, "clock-frequency", &clockFrequency, 4)
73 && of_getprop(cpu, "bus-frequency", &busFrequency, 4)
80 if (of_getprop(cpu, "timebase-frequency", &timeBaseFrequency, 4)
/haiku/headers/private/kernel/
H A Dcpu.h17 #include <arch/cpu.h>
104 bigtime_t cpu_get_active_time(int32 cpu);
105 uint64 cpu_frequency(int32 cpu);
130 bool _user_cpu_enabled(int32 cpu);
131 status_t _user_set_cpu_enabled(int32 cpu, bool enabled);

Completed in 107 milliseconds

1234567891011