Searched refs:eax (Results 1 - 25 of 117) sorted by last modified time

12345

/haiku/src/system/boot/arch/x86/
H A Darch_cpu.cpp182 asm volatile ("cpuid" : : : "eax", "ebx", "ecx", "edx");
329 const uint32 maxVMM = info.regs.eax;
333 uint64 clockSpeed = uint64(info.regs.eax) * 1000;
334 gTimeConversionFactor = (uint64(1000) << 32) / info.regs.eax;
/haiku/src/system/kernel/arch/x86/
H A Darch_cpu.cpp731 cacheType = cpuid.regs.eax & 0x1f;
735 int cacheLevel = (cpuid.regs.eax >> 5) & 0x7;
736 int coresCount = next_power_of_2(((cpuid.regs.eax >> 14) & 0x3f) + 1);
786 int levelValue = cpuid.regs.eax & 0x1f;
839 maxCoreID = next_power_of_2((cpuid.regs.eax >> 26) + 1);
863 cacheType = cpuid.regs.eax & 0x1f;
867 int cacheLevel = (cpuid.regs.eax >> 5) & 0x7;
869 = next_power_of_2(((cpuid.regs.eax >> 14) & 0x3f) + 1);
1009 uint32 signature = cpuid.regs.eax;
1125 uint32 signature = cpuid.regs.eax;
[all...]
H A Darch_system_info.cpp109 if (cpuid.regs.eax != 0) {
110 sCPUClockSpeed = cpuid.regs.eax * 1000000LL;
H A Darch_user_debugger.cpp161 cpuState->eax = frame->orig_eax;
186 frame->ax = cpuState->eax;
/haiku/headers/private/system/
H A Dsyscalls.h572 extern status_t _kern_get_cpuid(cpuid_info *info, uint32 eax, uint32 cpu);
/haiku/headers/os/kernel/
H A DOS.h597 uint32 eax; member in struct:__anon16::__anon21
/haiku/src/system/boot/platform/bios_ia32/
H A Ddevices.cpp175 regs.eax = BIOS_BOOT_CD_GET_STATUS;
205 regs.eax = BIOS_IS_EXT_PRESENT;
226 regs.eax = BIOS_GET_EXT_DRIVE_PARAMETERS;
245 regs.eax = BIOS_GET_DRIVE_PARAMETERS;
273 regs.eax = BIOS_GET_DRIVE_PARAMETERS;
656 regs.eax = BIOS_EXT_READ;
689 regs.eax = BIOS_READ | blocksRead;
706 regs.eax = BIOS_RESET_DISK_SYSTEM;
784 regs.eax = BIOS_EXT_WRITE; // al = 0x00 -- no write verify
H A Dmmu.cpp291 regs.eax = 0xe820;
356 asm("movl %0, %%eax;"
357 "movl %%eax, %%cr3;" : : "m" (sPageDirectory) : "eax");
359 asm("movl %%eax, %%cr0" : : "a" ((1 << 31) | (1 << 16) | (1 << 5) | 1));
760 regs.eax = 0xe801; // AX
763 regs.eax = 0x8800; // AH 88h
772 gKernelArgs.physical_memory_range[1].size = regs.eax * 1024;
H A Dlong_asm.S36 movl %cr0, %eax
37 andl $~(1 << 31), %eax
38 movl %eax, %cr0
41 movl %cr4, %eax
42 orl $(1 << 5) | (1 << 7), %eax
43 orl %ecx, %eax
44 movl %eax, %cr4
47 movl gLongPhysicalPMLTop, %eax
48 movl %eax, %cr3
53 orl $(1 << 8), %eax
[all...]
/haiku/src/servers/app/drawing/Painter/
H A DPainter.cpp157 uint32 maxStdFunc = cpuInfo.regs.eax;
/haiku/headers/private/shared/
H A Dcpu_type.h234 memcpy(name, &nameInfo.regs.eax, 4);
/haiku/src/add-ons/kernel/drivers/graphics/vesa/
H A Dvesa.cpp134 regs.eax = 0x4f01;
146 if ((regs.eax & 0xffff) != 0x4f) {
148 "0x%04" B_PRIx32 "\n", mode, regs.eax & 0xffff);
161 regs.eax = 0x4f02;
171 if ((regs.eax & 0xffff) != 0x4f) {
173 "\n", mode, regs.eax & 0xffff);
204 regs.eax = 0x4f10;
216 if ((regs.eax & 0xffff) != 0x4f) {
218 "0x%04" B_PRIx32 "\n", regs.eax & 0xffff);
234 regs.eax
[all...]
/haiku/src/system/kernel/arch/x86/64/
H A Dinterrupts.S232 movl (gXsaveMask), %eax
244 movl (gXsaveMask), %eax
280 movl (gXsaveMask), %eax
318 movl (gXsaveMask), %eax
351 movl (gXsaveMask), %eax
463 movl THREAD_flags(%r12), %eax
464 movl %eax, %edx
563 movl (gXsaveMask), %eax
H A Dentry_compat.S345 movl THREAD_flags(%r12), %eax
346 movl %eax, %edx
423 .byte 0x50 // push %eax
424 mov $SYSCALL_EXIT_THREAD, %eax
/haiku/src/system/boot/platform/efi/arch/x86_64/
H A Dlong_smp_trampoline.S30 movl %esi, %eax
31 shrl $4, %eax
40 movl %cr0,%eax
41 orl $0x01,%eax
42 movl %eax,%cr0
45 leal (long_trampoline_32 - long_smp_trampoline)(%ebx), %eax
46 pushl %eax
63 movl %cr4, %eax
64 orl $(1 << 5) | (1 << 7), %eax
65 movl %eax,
[all...]
/haiku/src/system/boot/platform/efi/arch/x86/
H A Dsmp_trampoline.S33 movl %esi, %eax
34 shrl $4, %eax
45 movl %cr0, %eax
46 orl $0x01, %eax
47 movl %eax, %cr0
50 leal (trampoline_32 - smp_trampoline)(%ebx), %eax
51 pushl %eax
70 popl %eax // page_dir
71 movl %eax, %cr3
83 movl $0x80010021, %eax
[all...]
H A Dsupport.S17 xorl %eax, %eax
18 xorl %eax, %eax
19 xorl %eax, %eax
20 xorl %eax, %eax
21 xorl %eax, %eax
[all...]
H A Dentry.S24 movl 16(%esp), %eax // kernelStackTop
28 movl %eax, %esp
31 movl %cr0, %eax
32 andl $0x7fffffff, %eax
33 movl %eax, %cr0
36 movl %cr4, %eax
37 andl $0xffffffdf, %eax
38 movl %eax, %cr4
41 movl %edx, %eax
42 movl %eax,
[all...]
H A Dcrt0-efi-x86.S48 0: popl %eax
49 movl %eax,%ebx
51 addl $ImageBase-0b,%eax # %eax = ldbase
55 pushl %eax # pass ldbase as first argument
59 testl %eax,%eax
/haiku/src/bin/
H A Dsysinfo.cpp228 if ((info->regs.eax & 0x80000000) == 0) {
229 // eax is valid, include values
367 if (info.regs.eax)
368 print_TLB(info.regs.eax, info.regs.ebx ? "2M/4M-byte" : NULL);
370 print_TLB(info.regs.ebx, info.regs.eax ? "4K-byte" : NULL);
391 uint32 type = info.regs.eax & 0xf;
392 uint32 level = (info.regs.eax & 0x70) >> 4;
393 bool isFullyAssoc = info.regs.eax & 0x100;
557 memcpy(name, &nameInfo.regs.eax, 4);
/haiku/src/add-ons/kernel/generic/bios/
H A Dbios.cpp287 M.x86.R_EAX = regs->eax;
311 regs->eax = M.x86.R_EAX;
/haiku/src/add-ons/kernel/drivers/graphics/ati/
H A Ddriver.cpp270 regs.eax = 0x4f15;
280 if (regs.eax != 0x4f)
296 regs.eax = 0x4f15;
305 if (regs.eax != 0x4f) {
366 regs.eax = 0x4f02;
374 if (status == B_OK && (regs.eax & 0xffff) != 0x4f) {
376 mode, regs.eax & 0xffff);
/haiku/src/system/kernel/arch/x86/32/
H A Dthread.cpp281 value of eax and edx which are overwritten by the syscall return value.
312 signalFrameData->context.uc_mcontext.eax = frame->ax;
382 frame->ax = signalFrameData->context.uc_mcontext.eax;
/haiku/src/add-ons/kernel/power/cpuidle/intel_cstates/
H A Dintel_cstates.cpp54 x86_mwait(uint32 eax, uint32 ecx) argument
56 asm volatile("mwait" : : "a" (eax), "c" (ecx));
144 if ((cpuid.regs.eax & 0xffff) < sizeof(int32))
/haiku/headers/posix/arch/x86/
H A Dsignal.h137 unsigned long eax; member in struct:vregs

Completed in 128 milliseconds

12345