Searched refs:eax (Results 76 - 100 of 117) sorted by relevance

12345

/haiku/src/system/libroot/posix/glibc/arch/x86_64/
H A Dlshift.S28 movl $64, %eax
29 subl %ecx, %eax
30 movd %eax, %mm0
H A Drshift.S27 movl $64, %eax
28 subl %ecx, %eax
29 movd %eax, %mm0
/haiku/src/system/boot/platform/pxe_ia32/
H A Dpxe_stage2.S65 movl (%esi), %eax
66 movl %eax, (%edi)
86 movl %cr0, %eax
88 movl %eax, %cr0
139 movl %cr0, %eax
141 movl %eax, %cr0
146 movl %eax, %cr0
/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/32/
H A Dapm.cpp48 bios_regs() : eax(0), ebx(0), ecx(0), edx(0), esi(0), flags(0) {}
49 uint32 eax; member in struct:bios_regs
106 : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx), "=d" (regs->edx),
108 : "a" (regs->eax), "b" (regs->ebx), "c" (regs->ecx)
125 regs.eax = BIOS_APM_GET_EVENT;
140 regs.eax = BIOS_APM_SET_STATE;
148 TRACE(("apm_set_state() error: %s\n", apm_error(regs.eax)));
157 regs.eax = BIOS_APM_ENABLE;
169 regs.eax = BIOS_APM_ENGAGE;
182 regs.eax
[all...]
H A Dbios.cpp93 uint32 eax = 0, ebx = 0, ecx = 0, edx = 0;
95 asm("movl %4, %%eax; " // set service parameters
100 "movl %%eax, %0; " // save return values
104 : "=m" (eax), "=m" (ebx), "=m" (ecx), "=m" (edx)
106 : "eax", "ebx", "ecx", "edx", "memory");
108 if ((eax & 0xff) != 0)
/haiku/headers/os/drivers/
H A Dbios.h41 uint32 eax; member in struct:bios_regs
/haiku/src/system/boot/platform/bios_ia32/
H A Dbios.h16 uint32 eax; member in struct:bios_regs
H A Dbios.cpp31 TRACE(("BIOS(%" B_PRIx8 "h): eax: 0x%" B_PRIx32 ", ebx: 0x%" B_PRIx32 ", "
34 num, regs->eax, regs->ebx, regs->ecx, regs->edx, regs->esi, regs->edi,
H A Dvideo.cpp278 regs.eax = 0x4f14;
372 regs.eax = 0x4f15;
380 TRACE(("EDID1: %lx\n", regs.eax));
383 if (regs.eax != 0x4f)
393 regs.eax = 0x4f15;
401 TRACE(("EDID3: %lx\n", regs.eax));
403 if (regs.eax != 0x4f)
422 regs.eax = 0x4f01;
429 if ((regs.eax & 0xff00) != 0)
443 regs.eax
[all...]
H A Dshell.S101 xor %eax, %eax
262 movl %eax, gBootPartitionOffset - 0x10000
280 movl %cr0, %eax // set the PE bit of cr0 to switch to protected mode
282 movl %eax, %cr0
308 //subl $MULTIBOOT_MAGIC2, %eax
H A Dinterrupts.cpp79 uint32 eax; member in struct:interrupt_frame
162 kprintf(REG(eax) " " REG(ebx) " " REG(ecx) " " REG(edx) "\n",
163 frame.eax, frame.ebx, frame.ecx, frame.edx);
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
/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/src/system/libroot/posix/musl/math/x86_64/
H A Dexp2l.s68 3: xor %eax,%eax
/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/headers/os/arch/x86/
H A Darch_debugger.h57 uint32 eax; member in struct:x86_debug_cpu_state
/haiku/src/system/kernel/arch/x86/
H A Darch_system_info.cpp109 if (cpuid.regs.eax != 0) {
110 sCPUClockSpeed = cpuid.regs.eax * 1000000LL;
/haiku/src/system/kernel/arch/m68k/
H A Dasm_offsets.cpp50 DEFINE_OFFSET_MACRO(IFRAME, iframe, eax);
/haiku/src/bin/writembr/
H A Dmbr.S252 movl PART_END_LBA(%di),%eax /* See if this was the last LBA */
253 cmpl (%si),%eax
255 movl PART_END_LBA+4(%di),%eax
256 cmpl 4(%si),%eax
/haiku/headers/posix/arch/x86/
H A Dsignal.h137 unsigned long eax; member in struct:vregs
/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/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/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);

Completed in 103 milliseconds

12345