Searched refs:ecx (Results 1 - 25 of 79) sorted by path

1234

/haiku/headers/libs/agg/
H A Dagg_math.h272 bsr ecx, ebx
273 sub ecx, 9
275 shr ecx, 1
276 adc ecx, 0
277 sub edx, ecx
278 shl ecx, 1
283 mov ecx, edx
/haiku/headers/libs/x86emu/x86emu/
H A Dprim_asm.h918 "mov [ecx],dx" \
919 parm [edi] [esi] [ecx] [ax] [bx]\
931 "mov [ecx],edx" \
932 parm [edi] [esi] [ecx] [eax] [ebx] \
956 "mov [ecx],dx" \
957 parm [edi] [esi] [ecx] [ax] [bx]\
969 "mov [ecx],edx" \
970 parm [edi] [esi] [ecx] [eax] [ebx] \
982 "mov [ecx],ah" \
983 parm [edi] [esi] [ecx] [a
[all...]
/haiku/headers/os/arch/x86/
H A Darch_debugger.h56 uint32 ecx; member in struct:x86_debug_cpu_state
/haiku/headers/os/drivers/
H A Dbios.h43 uint32 ecx; member in struct:bios_regs
/haiku/headers/private/kernel/arch/x86/32/
H A Ddescriptors.h83 uint32 eip, eflags, eax, ecx, edx, ebx, esp, ebp, esi, edi; member in struct:tss
/haiku/headers/private/kernel/arch/x86/
H A Darch_system_info.h15 status_t get_current_cpuid(cpuid_info* info, uint32 eax, uint32 ecx);
/haiku/src/add-ons/kernel/drivers/power/x86_cpuidle/
H A Dx86_cpuidle.h13 x86_monitor(const void *addr, unsigned long ecx, unsigned long edx) argument
16 :: "a" (addr), "c" (ecx), "d"(edx));
20 x86_mwait(unsigned long eax, unsigned long ecx) argument
23 :: "a" (eax), "c" (ecx));
/haiku/src/bin/unzip/
H A Dcrc_i386.S31 * GNU C 2.7.x, %edx and %ecx are `scratch' registers, but preserving
143 pushl %ecx
155 movl arg3, %ecx /* 3rd arg: extent len */
158 testl %ecx, %ecx
167 decl %ecx
171 movl %ecx, %edx /* save len in edx */
172 shrl $3, %ecx /* ecx = len / 8 */
202 decl %ecx
[all...]
/haiku/src/kits/debugger/arch/x86/
H A DCpuStateX86.cpp34 SetIntRegister(X86_REGISTER_ECX, state.ecx);
126 x86State->ecx = IntRegisterValue(X86_REGISTER_ECX);
/haiku/src/system/boot/platform/bios_ia32/
H A Dapm.cpp41 gKernelArgs.platform_args.apm.flags = regs.ecx & 0xffff;
75 gKernelArgs.platform_args.apm.code16_segment_base = regs.ecx & 0xffff;
H A Dbios.cpp32 "ecx: 0x%" B_PRIx32 ", edx: 0x%" B_PRIx32 ", esi: 0x%" B_PRIx32 ", "
34 num, regs->eax, regs->ebx, regs->ecx, regs->edx, regs->esi, regs->edi,
H A Dbios.h18 uint32 ecx; member in struct:bios_regs
H A Dbios_asm.S185 movl 8(%ebp), %ecx
223 movl %ecx, 8(%eax)
227 movl SAVED_EAX, %ecx // special handling for %eax and flags
228 movl %ecx, (%eax)
H A Dinterrupts.cpp78 uint32 ecx; 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 Dshell.S318 mov $(_end - LOAD_ADDRESS), %ecx
319 add $3, %ecx
320 shr $2, %ecx
371 movl $0x20000, %ecx
H A Dsmp_trampoline.S58 movl $trampoline_after_paging,%ecx
67 jmp *%ecx
/haiku/src/system/boot/platform/pxe_ia32/
H A Dpxe_bios.S52 movl 44(%esp), %ecx
H A Dpxe_stage2.S55 movl $_end, %ecx // desired end address
56 addl $3, %ecx // long word align
58 movl %ecx, %edi
59 subl $LOAD_ADDRESS, %ecx // number of bytes to copy
61 addl %ecx, %esi // current end address
62 shrl $2, %ecx // number of long words
67 decl %ecx
H A Dsmp_trampoline.S58 movl $trampoline_after_paging,%ecx
67 jmp *%ecx
/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) {}
51 uint32 ecx; 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)
131 info = regs.ecx & 0xffff;
142 regs.ecx = state;
159 regs.ecx = enable ? 0x01 : 0x00;
171 regs.ecx = engage ? 0x01 : 0x00;
183 regs.ecx = version;
212 regs.ecx
[all...]
H A Darch.S82 movl 4(%esp), %ecx
89 movl 4(%esp), %ecx
123 movl $1, %ecx
150 movl 20(%esp),%ecx /* count */
159 shrl $2,%ecx
164 movl 20(%esp),%ecx
165 andl $3,%ecx
194 movl 20(%esp),%ecx /* count */
230 movl 24(%esp),%ecx /* count */
238 cmp $0,%ecx
[all...]
H A Dbios.cpp93 uint32 eax = 0, ebx = 0, ecx = 0, edx = 0;
97 "movl %5, %%ecx; "
99 "call *%%ecx; "
102 "movl %%ecx, %2; "
104 : "=m" (eax), "=m" (ebx), "=m" (ecx), "=m" (edx)
106 : "eax", "ebx", "ecx", "edx", "memory");
112 service->size = ecx;
H A Dcpuid.S21 movl 20(%esp),%ecx /* third arg sets up ecx */
26 movl %ecx,12(%edi)
H A Ddescriptors.cpp166 frame->cx = tss->ecx;
H A Dinterrupts.S39 movl %edx, %ecx; \
49 movl %ecx, (THREAD_last_time + 4)(%edi); \
82 movl %edx, %ecx; \
92 movl %ecx, (THREAD_last_time + 4)(%edi); \
153 movl SYSCALL_INFO_parameter_size(%edx), %ecx; \
154 shrl $2, %ecx; \
764 ecx - user esp
776 pushl %ecx // user_esp
803 // ecx already contains the user esp -- load edx with the return address

Completed in 142 milliseconds

1234