/xnu-2782.1.97/iokit/Kernel/x86_64/ |
H A D | IOSharedLock.s | 55 orl $-1, %edx 57 cmpxchgl %edx, (%rdi)
|
/xnu-2782.1.97/libsyscall/custom/ |
H A D | __fork.s | 64 orl %edx,%edx // CF=OF=0, ZF set if zero result 91 orl %edx,%edx // CF=OF=0, ZF set if zero result
|
H A D | __gettimeofday.s | 35 * This syscall is special cased: the timeval is returned in eax/edx. 41 mov %edx,4(%ecx) 53 movl %edx, 8(%rdi)
|
H A D | __pipe.s | 37 movl %edx,4(%ecx) 45 movl %edx, 4(%rdi)
|
H A D | __getpid.s | 65 movl %eax, %edx 69 cmpxchgl %edx, __current_pid 70 movl %edx, %eax 92 movl %eax, %edx 96 cmpxchgl %edx, (%rcx) 97 movl %edx, %eax
|
H A D | custom.s | 41 mov %esp, %edx 44 movl %edx, 4(%esp) 51 mov %esp, %edx 54 movl %edx, 4(%esp) 61 popl %edx
|
H A D | __vfork.s | 46 #define __current_pid (%edx) 78 testl %edx, %edx // CF=OF=0, ZF set if zero result 120 testl %edx, %edx // CF=OF=0, ZF set if zero result
|
H A D | __syscall.s | 39 movl (%esp),%edx // add one element to stack so
|
/xnu-2782.1.97/EXTERNAL_HEADERS/architecture/i386/ |
H A D | asm_help.h | 70 lea 9b,%edx ;\ 274 popl %edx ; \ 275 movl L ## var ## $non_lazy_ptr-1b(%edx),%edx 279 call %edx 294 jmp %edx ; \ 299 movl (%edx),%edx ; \ 300 pushl %edx ; \ 305 movl reg, (%edx) ; \ [all...] |
H A D | tss.h | 62 unsigned int edx; member in struct:tss
|
/xnu-2782.1.97/libsyscall/wrappers/ |
H A D | mach_absolute_time.s | 34 /* return mach_absolute_time in %edx:%eax 63 rdtsc /* get TSC in %edx:%eax */ 67 sbbl _COMM_PAGE_NT_TSC_BASE+4,%edx 75 shldl %cl,%eax,%edx /* shift %edx left, filling in from %eax */ 76 shll %cl,%eax /* finish shifting %edx:%eax left by _COMM_PAGE_NT_SHIFT bits */ 80 movl %edx,%ebx 83 movl %edx,%ebx 86 adcl $0,%edx 89 adcl _COMM_PAGE_NT_NS_BASE+4,%edx [all...] |
H A D | mach_approximate_time.s | 47 movl _COMM_PAGE_APPROX_TIME+4, %edx // load high 52 cmpl _COMM_PAGE_APPROX_TIME+4, %edx // load high and check if equal
|
H A D | __commpage_gettimeofday.s | 49 call _mach_absolute_time /* get nanotime in %edx:%eax */ 52 sbb _COMM_PAGE_GTOD_NS_BASE+4,%edx 63 mov %edx,%eax 64 xor %edx,%edx 108 shrq $32,%rdx // get high half of delta in %edx 109 divl %ecx // %eax <- seconds since timestamp, %edx <- nanoseconds 113 movl %edx,%eax 114 xorl %edx,%edx [all...] |
H A D | __get_cpu_capabilities.s | 47 movl _COMM_PAGE_CPU_CAPABILITIES64+4, %edx
|
/xnu-2782.1.97/osfmk/x86_64/ |
H A D | machine_routines_asm.s | 167 movl RNT_SCALE(%rsi),%edx 201 mov $(VMX_FAIL_VALID), %edx 205 cmovzl %edx, %eax /* CF = 0, ZF = 1 */ 219 mov $(VMX_FAIL_VALID), %edx 223 cmovzl %edx, %eax /* CF = 0, ZF = 1 */
|
H A D | WKdmDecompress_new.s | 129 movl 12(%rdi,%r8, 4), %edx 160 movl %eax, %edx // w 184 movl $(1023<<10), %edx 186 andl %eax, %edx // b << 10 189 shll $6, %edx 191 orl %edx, %eax 237 movzbl (next_qpos),%edx // qpos = *next_qpos 261 movl (next_full_patt), %edx // w = *next_full_patt 263 shrl $10, %edx // w>>10 265 movzbl %dl, %edx // [all...] |
H A D | WKdmCompress_new.s | 232 movl (next_input_word), %edx 234 testl %edx, %edx 236 movl %edx, %eax // a copy of input_word 243 cmpl %eax, %edx // dict_word vs input_word 245 xorl %edx, %eax 250 movl %edx, (next_full_patt) // *next_full_patt = input_word; 252 movl %edx, (dict_location) // *dict_location = input_word 285 orl %edx, %eax 381 movzwl 2(%rcx), %edx // w [all...] |
H A D | start.s | 184 movl $EXT(BootPDPT), %edx // Level 3: 185 add %eax, 0*8+0(%edx) 186 add %eax, 1*8+0(%edx) 187 add %eax, 2*8+0(%edx) 188 add %eax, 3*8+0(%edx) 242 xor %eax, %edx 249 xor %ecx, %edx 252 ror %cl, %edx /* Right rotate EDX (TSC&0xFF ^ (TSC>>8 & 0xFF))&1F */ 318 xorl %edx, %edx /* zer [all...] |
H A D | locore.s | 122 movl %edx, (%rdi) 139 movl %edx, 4(%rsi) 153 movl %esi, %edx 186 movl %edx,%ecx /* move by longwords first */ 193 movl %edx,%ecx /* now move remaining bytes */
|
/xnu-2782.1.97/tools/tests/execperf/ |
H A D | exit-asm.S | 37 pop %edx
|
/xnu-2782.1.97/osfmk/i386/commpage/ |
H A D | fifo_queues.s | 76 * %edx = return address 78 * Destroys %eax, %ecx, and %edx. 81 popl %edx // get return address 100 pushl %edx // preserve regs used by preempt syscall 104 popl %edx 116 * %edx = offset of link field in elements 121 movl $0,(%edx,%esi) // zero forward link in new element 150 movl %esi,(%edx,%ecx) // point to new element from last 160 * %edx = offset of link field in elements 192 movl (%edx, [all...] |
/xnu-2782.1.97/osfmk/i386/ |
H A D | tss.h | 82 uint32_t edx; member in struct:i386_tss
|
H A D | cpuid.h | 57 * returned in %ecx:%edx to a CPUID request with %eax of 1: 139 * returned in %ecx:%edx to a CPUID request with %eax of 0x80000001: 154 * returned in %ecx:%edx to a CPUID request with %eax of 0x80000007: 213 typedef enum { eax, ebx, ecx, edx } cpuid_register_t; enumerator in enum:__anon889 221 "=d" (data[edx]) 225 "d" (data[edx])); 290 uint32_t extended_state[4]; /* eax .. edx */
|
H A D | cpuid.c | 237 DBG("cpuid_fn(0x%08x) eax:0x%08x ebx:0x%08x ecx:0x%08x edx:0x%08x\n", 488 bcopy((char *)®[edx], &info_p->cpuid_vendor[4], 4); 569 info_p->cpuid_features = quad(reg[ecx], reg[edx]); 589 quad(reg[ecx], reg[edx]); 613 reg[edx] & (uint32_t)CPUID_EXTFEATURE_TSCI; 628 cmp->sub_Cstates = reg[edx]; 682 capp->fixed_number = bitfield32(reg[edx], 4, 0); 683 capp->fixed_width = bitfield32(reg[edx], 12, 5); 708 DBG(" EDX : 0x%x\n", xsp->extended_state[edx]); 1114 bcopy((char *)®[edx], [all...] |
/xnu-2782.1.97/bsd/dev/i386/ |
H A D | systemcalls.c | 219 * eax/edx matches the function call ABI. 222 regs->edx = uthread->uu_rval[1]; 228 error, regs->eax, regs->edx); 541 regs->edx = uthread->uu_rval[1]; 546 error, regs->eax, regs->edx);
|