| /xnu-12377.41.6/osfmk/i386/commpage/ |
| H A D | fifo_queues.s | 82 movl %esp,%ecx // save stack ptr here 101 pushl %ecx 103 popl %ecx 124 orl $-1, %ecx 126 cmpxchgl %ecx, 8(%edi) // try to take the spinlock 132 cmpxchgl %ecx, 8(%edi) // try 2nd time to take the spinlock 138 cmpxchgl %ecx, 8(%edi) // try 3rd time to take the spinlock 169 orl $-1, %ecx 171 cmpxchgl %ecx, 8(%edi) // try to take the spinlock 177 cmpxchgl %ecx, 8(%edi) // try 2nd time to take the spinlock [all …]
|
| /xnu-12377.41.6/libsyscall/custom/ |
| H A D | __vfork.s | 60 xorl %ecx, %ecx 62 cmovs %eax, %ecx 63 decl %ecx 65 cmpxchgl %ecx, __current_pid 67 popl %ecx 74 pushl %ecx 81 jmp *%ecx 87 jmp *%ecx 100 xorl %ecx, %ecx 102 cmovs %eax, %ecx [all …]
|
| H A D | __syscall.s | 35 popl %ecx // ret addr 37 pushl %ecx 40 pushl %ecx // caller "pop" will work
|
| H A D | __pipe.s | 35 movl 4(%esp),%ecx 36 movl %eax,(%ecx) 37 movl %edx,4(%ecx)
|
| H A D | __getpid.s | 43 popl %ecx ; \ 44 leal L__current_pid_addr-0b(%ecx), %ecx 46 #define __current_pid (%ecx)
|
| H A D | __gettimeofday.s | 66 mov 4(%esp),%ecx 67 mov %eax,(%ecx) 68 mov %edx,4(%ecx)
|
| /xnu-12377.41.6/osfmk/x86_64/ |
| H A D | machine_routines_asm.s | 171 movl RNT_SHIFT(%rsi),%ecx 197 test %ecx, %ecx 227 mov $(VMX_FAIL_INVALID), %ecx 231 cmovcl %ecx, %eax /* CF = 1, ZF = 0 */ 245 mov $(VMX_FAIL_INVALID), %ecx 249 cmovcl %ecx, %eax /* CF = 1, ZF = 0 */
|
| H A D | locore.s | 115 movl %edi, %ecx 133 movl %edi, %ecx 149 movl %edi, %ecx 185 xorl %ecx, %ecx /* don't check if we're in the PFZ */ 205 movl %edx, %ecx /* now move remaining bytes */ 206 andl $7, %ecx 254 movl (%rdi), %ecx 257 mov %ecx, (%rsi)
|
| H A D | start.s | 111 movl $MSR_IA32_EFER,%ecx ;\ 211 test $(1 << 30), %ecx 237 mov %eax, %ecx 246 movzbl %cl, %ecx 247 shl $16, %ecx 248 xor %ecx, %edx 318 xorl %ecx, %ecx /* zero 4th arg */ 451 mov $(MSR_IA32_EFER), %ecx /* MSR number in ecx */ 585 mov PROT_MODE_START+REAL_MODE_BOOTSTRAP_OFFSET, %ecx 586 jmp *%ecx
|
| H A D | idt64.s | 242 mov $(MSR_IA32_GS_BASE), %ecx 464 mov $(MSR_IA32_GS_BASE), %ecx 664 movl $0xdeadc0de, %ecx /* Write a sentinel so higher-level code knows this was aborted */ 1034 movl R32_ECX(%r15), %ecx 1240 xor %ecx, %ecx 1284 mov %ecx, R32_ECX(%r15) 1298 xor %ecx, %ecx 1361 testl %ecx, %ecx 1366 movl $2, %ecx 1397 xor %ecx, %ecx /* If so, reset DR7 (the control) */ [all …]
|
| H A D | bzero.s | 89 mov %eax, %ecx
|
| /xnu-12377.41.6/osfmk/i386/ |
| H A D | rtclock_asm_native.h | 73 movl RNT_SHIFT(%rdi),%ecx ; \ 77 movl RNT_SCALE(%rdi),%ecx ; \ 90 movl RNT_SHIFT(%rdi),%ecx ; \ 94 movl RNT_SCALE(%rdi),%ecx ; \
|
| H A D | cpuid.c | 386 reg[ecx] = index; /* index starting at 0 */ in cpuid_set_cache_info() 400 cache_sets = bitfield32(reg[ecx], 31, 0) + 1; in cpuid_set_cache_info() 581 bcopy((char *)®[ecx], &info_p->cpuid_vendor[8], 4); in cpuid_set_generic_info() 623 info_p->cpuid_cache_linesize = bitfield32(reg[ecx], 7, 0); in cpuid_set_generic_info() 627 uint32_t assoc = bitfield32(reg[ecx], 15, 12); in cpuid_set_generic_info() 643 info_p->cpuid_cache_size = bitfield32(reg[ecx], 31, 16); in cpuid_set_generic_info() 671 info_p->cpuid_features = quad(reg[ecx], reg[edx]); in cpuid_set_generic_info() 694 quad(reg[ecx], reg[edx]); in cpuid_set_generic_info() 732 cmp->extensions = reg[ecx]; in cpuid_set_generic_info() 757 ctp->ACNT_MCNT = bitfield32(reg[ecx], 0, 0); in cpuid_set_generic_info() [all …]
|
| H A D | cpuid.h | 329 typedef enum { eax, ebx, ecx, edx } cpuid_register_t; enumerator 336 "=c" (data[ecx]), in cpuid() 340 "c" (data[ecx]), in cpuid()
|
| H A D | tss.h | 81 uint32_t ecx; member
|
| H A D | pcb.c | 684 saved_state->ecx = ts->ecx; in set_thread_state32() 786 ts->ecx = saved_state->ecx; in get_thread_state32() 952 saved_state->ecx = state->ecx; in machine_thread_set_state() 1884 state->ecx = saved_state->ecx; in machine_thread_get_kern_state() 1966 state->uts.ts32.ecx = saved_state->ecx; in machine_thread_get_kern_state()
|
| /xnu-12377.41.6/libsyscall/wrappers/ |
| H A D | mach_absolute_time.s | 74 movl _COMM_PAGE_NT_SHIFT,%ecx 78 movl _COMM_PAGE_NT_SCALE,%ecx 81 mull %ecx 84 mull %ecx 139 movl _NT_SHIFT(%rsi),%ecx 140 andl $0x1F,%ecx // *** remove this line once 10.9 is GM *** 143 movl _NT_SCALE(%rsi),%ecx
|
| /xnu-12377.41.6/EXTERNAL_HEADERS/corecrypto/ |
| H A D | cc_runtime_config.h | 93 unsigned int eax, ebx, ecx, edx; in _cpu_supports_rdrand() local 94 __cpuid(1, eax, ebx, ecx, edx); in _cpu_supports_rdrand() 95 return ecx & bit_RDRND; in _cpu_supports_rdrand() 100 unsigned int eax, ebx, ecx, edx; in _cpu_supports_adx() local 101 __cpuid_count(7, 0, eax, ebx, ecx, edx); in _cpu_supports_adx()
|
| /xnu-12377.41.6/osfmk/corecrypto/ |
| H A D | cc_runtime_config.h | 120 unsigned int eax, ebx, ecx, edx; in _cpu_supports_rdrand() local 121 __cpuid(1, eax, ebx, ecx, edx); in _cpu_supports_rdrand() 122 return ecx & bit_RDRND; in _cpu_supports_rdrand() 128 unsigned int eax, ebx, ecx, edx; in _cpu_supports_adx() local 129 __cpuid_count(7, 0, eax, ebx, ecx, edx); in _cpu_supports_adx()
|
| /xnu-12377.41.6/bsd/dev/i386/ |
| H A D | cpu_copy_in_cksum.s | 548 shr $16, %ecx 549 add %ecx, %eax 552 movzwl partialw, %ecx 554 add %ecx, %eax 558 movzwl %ax, %ecx 560 add %ecx, %eax 566 movzwl %ax, %ecx 568 add %ecx, %eax
|
| /xnu-12377.41.6/tools/tests/execperf/ |
| H A D | exit-asm.S | 11 movl $0, %ecx 38 mov %esp, %ecx
|
| /xnu-12377.41.6/tests/ |
| H A D | ldt_code32.s | 164 pushl %ecx 165 movl %esp, %ecx /* stack ptr is expected in %ecx */ 168 popl %ecx
|
| /xnu-12377.41.6/osfmk/arm64/ |
| H A D | WKdmDecompress_4k.s | 115 #define ecx w5 macro 148 mov ecx, #MZV_MAGIC 149 cmp eax, ecx // is the alternate packer used (i.e. is MZV page)? 384 ldrh ecx, [r11], #2 // lower 10-bits from *next_low_bits++ 386 bfm eax, ecx, #0, #9 // pad the lower 10-bits from *next_low_bits
|
| H A D | WKdmDecompress_16k.s | 115 #define ecx w5 macro 148 mov ecx, #MZV_MAGIC 149 cmp eax, ecx // is the alternate packer used (i.e. is MZV page)? 384 ldrh ecx, [r11], #2 // lower 10-bits from *next_low_bits++ 386 bfm eax, ecx, #0, #9 // pad the lower 10-bits from *next_low_bits
|
| /xnu-12377.41.6/EXTERNAL_HEADERS/architecture/i386/ |
| H A D | tss.h | 61 unsigned int ecx; member
|