Home
last modified time | relevance | path

Searched refs:ecx (Results 1 – 7 of 7) sorted by relevance

/lk-master/arch/x86/
A Dfpu.c47 #define FPU_CAP(ecx, edx) ((edx & EDX_FPU) != 0) argument
49 #define SSE_CAP(ecx, edx) ( \ argument
50 ((ecx & (ECX_SSE3 | ECX_SSSE3 | ECX_SSE4_1 | ECX_SSE4_2)) != 0) || \
54 #define FXSAVE_CAP(ecx, edx) ((edx & EDX_FXSR) != 0) argument
62 static void get_cpu_cap(uint32_t *ecx, uint32_t *edx) { in get_cpu_cap() argument
65 cpuid(1, &a, &b, ecx, edx); in get_cpu_cap()
69 uint32_t ecx = 0, edx = 0; in fpu_init() local
82 get_cpu_cap(&ecx, &edx); in fpu_init()
84 if (!FPU_CAP(ecx, edx) || !SSE_CAP(ecx, edx) || !FXSAVE_CAP(ecx, edx)) in fpu_init()
/lk-master/arch/x86/32/
A Dstart.S92 movl $PHYS(__bss_end), %ecx /* find the length of the bss in bytes */
93 subl %edi, %ecx
94 shrl $2, %ecx /* convert to 32 bit words, since the bss is aligned anyway */
112 movl $0x1ff, %ecx
116 subl %ecx, %eax
143 movl $1024*4,%ecx
181 movl $0x100, %ecx
194 movl $0x100, %ecx
A Dops.S41 mov 12(%esp), %ecx // val
43 add %eax,%ecx // ecx = edx + val
44 mov %ecx,(%edx) // *mem = ecx
A Dexceptions.S78 movl $NUM_INT, %ecx
/lk-master/arch/x86/64/
A Dstart.S95 movl $PHYS(__bss_end), %ecx /* find the length of the bss in bytes */
96 subl %edi, %ecx
97 shrl $2, %ecx /* convert to 32 bit words, since the bss is aligned anyway */
117 movl $MSR_EFER ,%ecx
144 movl $0x200, %ecx
158 movl $32768, %ecx
176 movl $64, %ecx
A Dexceptions.S107 movl $NUM_INT, %ecx
/lk-master/arch/x86/include/arch/
A Dx86.h52 uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax; member
81 uint32_t eax, ecx, edx, ebx; member

Completed in 8 milliseconds