/xnu-2422.115.4/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, [all...] |
H A D | __gettimeofday.s | 39 mov 4(%esp),%ecx 40 mov %eax,(%ecx) 41 mov %edx,4(%ecx)
|
H A D | __pipe.s | 35 movl 4(%esp),%ecx 36 movl %eax,(%ecx) 37 movl %edx,4(%ecx)
|
H A D | __syscall.s | 35 popl %ecx // ret addr 37 pushl %ecx 40 pushl %ecx // caller "pop" will work
|
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 | custom.s | 62 movl %esp, %ecx
|
/xnu-2422.115.4/libsyscall/wrappers/ |
H A D | __commpage_gettimeofday.s | 54 mov $ NSEC_PER_SEC,%ecx 59 div %ecx 62 mov $ NSEC_PER_USEC,%ecx 65 div %ecx 67 mov 8(%ebp),%ecx 68 mov %ebx,(%ecx) 69 mov %eax,4(%ecx) 106 movl $ NSEC_PER_SEC,%ecx 109 divl %ecx // %eax <- seconds since timestamp, %edx <- nanoseconds 112 movl $ NSEC_PER_USEC,%ecx [all...] |
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-2422.115.4/osfmk/i386/commpage/ |
H A D | fifo_queues.s | 77 * %ecx = stack ptr 78 * Destroys %eax, %ecx, and %edx. 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 144 movl 4(%edi),%ecx // ge [all...] |
/xnu-2422.115.4/osfmk/i386/ |
H A D | rtclock_asm_native.h | 74 movl RNT_SHIFT(%rdi),%ecx ; \ 78 movl RNT_SCALE(%rdi),%ecx ; \
|
H A D | gdb_defs.h | 45 unsigned int ecx; member in struct:__anon896
|
H A D | i386_lock.s | 350 movl $1, %ecx /* Set lock value */ 496 movl $1,%ecx 497 cmovne %ecx,%eax /* 0 => unlocked, 1 => locked */ 545 movl %eax, %ecx /* original value in %eax for cmpxchgl */ 546 incl %ecx /* Increment reader refcount */ 548 cmpxchgl %ecx, (LCK_RW_REGISTER) /* Attempt atomic exchange */ 587 movl %eax, %ecx /* original value in %eax for cmpxchgl */ 588 incl %ecx /* Increment reader refcount */ 590 cmpxchgl %ecx, (LCK_RW_REGISTER) /* Attempt atomic exchange */ 633 movl %eax, %ecx /* origina [all...] |
H A D | tss.h | 81 uint32_t ecx; member in struct:i386_tss
|
H A D | cpuid.c | 238 DBG("cpuid_fn(0x%08x) eax:0x%08x ebx:0x%08x ecx:0x%08x edx:0x%08x\n", 306 reg[ecx] = index; /* index starting at 0 */ 319 cache_sets = bitfield32(reg[ecx], 31, 0) + 1; 488 bcopy((char *)®[ecx], &info_p->cpuid_vendor[8], 4); 529 info_p->cpuid_cache_linesize = bitfield32(reg[ecx], 7, 0); 530 assoc = bitfield32(reg[ecx],15,12); 545 info_p->cpuid_cache_size = bitfield32(reg[ecx],31,16); 570 info_p->cpuid_features = quad(reg[ecx], reg[edx]); 590 quad(reg[ecx], reg[edx]); 628 cmp->extensions = reg[ecx]; [all...] |
H A D | cpuid.h | 56 * returned in %ecx:%edx to a CPUID request with %eax of 1: 127 * Bits returned in %ebx to a CPUID request with {%eax,%ecx} of (0x7,0x0}: 142 * returned in %ecx:%edx to a CPUID request with %eax of 0x80000001: 155 * returned in %ecx:%edx to a CPUID request with %eax of 0x80000007: 195 typedef enum { eax, ebx, ecx, edx } cpuid_register_t; enumerator in enum:__anon886 202 "=c" (data[ecx]), 206 "c" (data[ecx]),
|
H A D | pcb_native.c | 265 saved_state->ecx = state->ecx;
|
H A D | pcb.c | 650 saved_state->ecx = ts->ecx; 727 ts->ecx = saved_state->ecx; 826 saved_state->ecx = state->ecx; 1549 state->ecx = saved_state->ecx; 1629 state->uts.ts32.ecx = saved_state->ecx; [all...] |
/xnu-2422.115.4/osfmk/x86_64/ |
H A D | machine_routines_asm.s | 169 movl RNT_SHIFT(%rsi),%ecx 204 test $(1 << 30), %ecx 212 mov %eax, %ecx 221 movzbl %cl, %ecx 222 shl $16, %ecx 223 xor %ecx, %edx 242 mov $(VMX_FAIL_INVALID), %ecx 246 cmovcl %ecx, %eax /* CF = 1, ZF = 0 */ 260 mov $(VMX_FAIL_INVALID), %ecx 264 cmovcl %ecx, [all...] |
H A D | locore.s | 117 movl %edi, %ecx 135 movl %edi, %ecx 151 movl %edi, %ecx 173 xorl %ecx, %ecx /* don't check if we're in the PFZ */ 187 movl %edx,%ecx /* move by longwords first */ 188 shrl $3,%ecx 194 movl %edx,%ecx /* now move remaining bytes */ 195 andl $7,%ecx 243 movl (%rdi), %ecx [all...] |
H A D | bzero.s | 72 mov %eax, %ecx
|
H A D | start.s | 113 movl $MSR_IA32_EFER,%ecx ;\ 213 test $(1 << 30), %ecx 239 mov %eax, %ecx 248 movzbl %cl, %ecx 249 shl $16, %ecx 250 xor %ecx, %edx 320 xorl %ecx, %ecx /* zero 4th arg */ 453 mov $(MSR_IA32_EFER), %ecx /* MSR number in ecx */ [all...] |
H A D | idt64.s | 249 mov %ecx, R32_ECX(%r15) 305 testl %ecx, %ecx 308 testl $(1<<16), %ecx /* Global? */ 323 xor %ecx, %ecx /* If so, reset DR7 (the control) */ 345 movl DS_DR0(%rax), %ecx /* If so, load the 32 bit DRs */ 347 movl DS_DR1(%rax), %ecx 349 movl DS_DR2(%rax), %ecx 351 movl DS_DR3(%rax), %ecx [all...] |
H A D | pal_routines_asm.s | 186 movl %ecx,RNT_SHIFT(%r8)
|
/xnu-2422.115.4/tools/tests/execperf/ |
H A D | exit-asm.S | 10 movl $0, %ecx 37 mov %esp, %ecx
|
/xnu-2422.115.4/EXTERNAL_HEADERS/architecture/i386/ |
H A D | tss.h | 61 unsigned int ecx; member in struct:tss
|