/darwin-on-arm/xnu/osfmk/i386/ |
H A D | bcopy.s | 64 pushl %edi 66 movl 8+ 4(%esp),%edi /* to */ 67 movl %edi,%eax /* returns its first argument */ 83 popl %edi 89 pushl %edi 91 movl 8+ 8(%esp),%edi /* to */ 98 pushl %edi 101 movl 8+ 8(%esp),%edi 115 popl %edi 126 pushl %edi [all...] |
H A D | bzero.s | 66 pushl %edi 67 movl 4+ 4(%esp),%edi /* addr */ 86 popl %edi 94 pushl %edi 95 movl 4+ 4(%esp),%edi /* addr */ 109 popl %edi
|
H A D | rtclock_asm_native.h | 46 * %edi points to nanotime info struct 50 0: movl RNT_GENERATION(%edi),%esi /* being updated? */ ; \ 56 subl RNT_TSC_BASE(%edi),%eax ; \ 57 sbbl RNT_TSC_BASE+4(%edi),%edx /* tsc - tsc_base */ ; \ 58 movl RNT_SCALE(%edi),%ecx /* * scale factor */ ; \ 66 addl RNT_NS_BASE(%edi),%eax /* + ns_base */ ; \ 67 adcl RNT_NS_BASE+4(%edi),%edx ; \ 68 cmpl RNT_GENERATION(%edi),%esi /* check for update */ ; \
|
H A D | machine_routines_asm.s | 92 pushl %edi // Save a volatile 101 movl %edx,%edi // Need to save only the high order part 105 addl %eax,%edi // Add in the overflow from the low x low calculation 110 // in %esi:%edi 123 addl %edi,%ebx // Add the low words 130 popl %edi // Restore a volatile 201 pushl %edi 203 movl 8(%ebp),%edi /* get ptr to rtc_nanotime_info */ 212 popl %edi 219 movl RNT_GENERATION(%edi), [all...] |
H A D | gdb_defs.h | 51 unsigned int edi; member in struct:__anon930
|
H A D | pal_routines_asm.s | 66 push %edi 74 COPY_STACK(%edx, %ecx, %edi) 96 pop %edi 116 push %edi 124 COPY_STACK(%edx, %ecx, %edi) 131 mov 8(%ebp), %edi /* load func pointer */ 132 call *%edi /* call EFI runtime */ 141 pop %edi
|
H A D | locore.s | 192 pushl %edi /* save registers */ 195 movl 8+S_ARG1,%edi /* get destination - kernel address */ 217 popl %edi /* restore registers */ 245 pushl %edi /* save registers */ 248 movl 8+S_ARG1,%edi /* get destination - kernel address */ 258 testl %edi,%edi /* if kernel address is ... */ 260 movb %al,(%edi) /* copy the byte */ 261 incl %edi 269 movl 8+S_ARG3,%edi /* ge [all...] |
H A D | rtclock_asm.h | 52 * Uses %eax, %ebx, %ecx, %edx, %esi, %edi. 55 mov %gs:CPU_NANOTIME,%edi ; \ 75 movl %edx,%edi /* save timestamp */ ; \ 81 movl %edi,(new##_TIMER)+TIMER_TSTAMP+4(%ecx) /* set timestamp */ ; \ 86 movl %edi,%edx /* restore timestamp */ ; \ 93 movl %edi,TIMER_TSTAMP+4(%ecx) /* set timestamp */ 97 * Uses %eax,%ebx,%ecx,%edx,%esi,%edi. 103 * Uses %eax,%ebx,%ecx,%edx,%esi,%edi. 109 * Uses %eax,%ebx,%ecx,%edx,%esi,%edi. 117 movl %edx,%edi /* sav [all...] |
H A D | _setjmp.s | 77 movl %edi,8(%ecx) 90 movl 8(%ecx),%edi
|
H A D | cswitch.s | 104 movl %edi,KSS_EDI(%ecx) 123 movl KSS_EDI(%ecx),%edi 149 movl %edi,KSS_EDI(%ecx)
|
H A D | tss.h | 87 uint32_t edi; member in struct:i386_tss
|
H A D | acpi_wakeup.s | 114 movl B_ARG0, %edi 115 call *%edi 116 popl %edi
|
H A D | idt64.s | 439 * edi 589 movl R32_EDI(%rsp), %edi 843 mov %edi, R32_EDI(%rsp) 1534 movl %gs:CPU_KERNEL_STACK,%edi 1535 xchgl %edi,%esp /* switch to kernel stack */ 1545 CCALL1(unix_syscall, %edi) 1554 movl %gs:CPU_KERNEL_STACK,%edi 1555 xchgl %edi,%esp /* switch to kernel stack */ 1565 CCALL1(mach_call_munger, %edi) 1574 movl %gs:CPU_KERNEL_STACK,%edi [all...] |
/darwin-on-arm/xnu/libkern/i386/ |
H A D | OSAtomic.s | 54 pushl %edi 61 movl 20+8(%esp), %edi #; ptr 63 cmpxchg8b 0(%edi) #; CAS (eax:edx, ebx:ecx implicit) 68 popl %edi 77 pushl %edi 80 movl 12+8(%esp), %edi #; ptr 81 movl 0(%edi), %eax #; load low 32-bits of *ptr 82 movl 4(%edi), %edx #; load high 32-bits of *ptr 89 cmpxchg8b 0(%edi) #; CAS (eax:edx, ebx:ecx implicit) 93 popl %edi [all...] |
/darwin-on-arm/xnu/osfmk/i386/commpage/ |
H A D | fifo_queues.s | 92 * %edi = ptr to queue head structure 107 cmpl $0,8(%edi) // sniff the lockword 114 * %edi = ptr to queue head structure 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 // get ptr to last element in q 147 movl %esi,(%edi) // q empty so this is first element 152 movl %esi,4(%edi) // new element becomes last in q 153 movl $0,8(%edi) // unloc [all...] |
H A D | pthreads.s | 89 * %edi == ptr to LVAL/UVAL pair 99 movl PTHRW_LVAL(%edi),%eax // get mutex LVAL 107 cmpxchgl %edx,PTHRW_LVAL(%edi) // try to acquire lock for real 132 cmpxchgl %edx,PTHRW_LVAL(%edi) // try to update lock status atomically 138 pushl PTHRW_UVAL(%edi) // arg 3: uval field from mutex 140 pushl %edi // arg 1: ptr to LVAL/UVAL pair in mutex
|
/darwin-on-arm/xnu/osfmk/profiling/i386/ |
H A D | profile-asm.s | 698 * %edi is preserved. 705 pushl %edi 707 movl %ecx,%edi /* move context number to saved reg */ 721 leal V_acontext(%ebx,%edi,4),%ecx 725 /* %edi = context number */ 754 /* %edi = context number */ 760 SLOCK incl V_num_alloc(%ebx,%edi,4) /* update global counters */ 761 SLOCK addl %eax,V_bytes_alloc(%ebx,%edi,4) 762 SLOCK subl %eax,V_wasted(%ebx,%edi,4) 777 popl %edi [all...] |
/darwin-on-arm/xnu/libkern/x86_64/ |
H A D | OSAtomic.s | 41 movl %edi, %eax 103 xaddl %edi, (%rsi) #; Atomic exchange and add 104 movl %edi, %eax;
|
/darwin-on-arm/xnu/EXTERNAL_HEADERS/architecture/i386/ |
H A D | tss.h | 67 unsigned int edi; member in struct:tss
|
H A D | asm_help.h | 85 pushl %edi ;\ 114 popl %edi ;\
|
/darwin-on-arm/xnu/libkern/kxld/i386/ |
H A D | WKdmDecompress.s | 19 pushl %edi 57 movl %eax, %edi // src_buf 68 movl 16(%edi,%esi,4), %edx // src_buf[i] for 16 tags, 16 (WKdm header) 91 movl 8(%edi), %eax // WKdm header qpos end 92 leal (%edi,%eax,4), %esi // QPOS_AREA_END 93 movl 4(%edi), %eax // WKdm header qpos start 94 leal (%edi,%eax,4), %ecx // QPOS_AREA_START 97 leal tempQPosArray, %edi // tempQPosArray 103 movl %edx, (%edi) // save 1st 4 qpos 106 movl %eax, 4(%edi) // sav [all...] |
H A D | WKdmCompress.s | 58 pushl %edi 114 movl %edx, %edi // next_input_word 116 #define next_input_word %edi 174 movl -6256(%ebp), %edi // next_full_patt 175 subl 12(%ebp), %edi // next_full_patt - dest_buf 176 movl %edi, %eax // next_full_patt - dest_buf 246 movl %ebx, %edi // boundary_tmp 248 subl 12(%ebp), %edi // boundary_tmp - dest_buf 249 movl %edi, %eax // boundary_tmp - dest_buf 302 popl %edi [all...] |
/darwin-on-arm/xnu/tools/tests/execperf/ |
H A D | exit-asm.S | 8 movl $42, %edi
|
/darwin-on-arm/xnu/osfmk/x86_64/ |
H A D | locore.s | 117 movl %edi, %ecx 136 movl %edi, %ecx 152 movl %edi, %ecx
|
H A D | start.s | 166 mov %eax, %edi /* save kernbootstruct */ 209 test %edi, %edi /* Populate stack canary on BSP */ 222 /* %edi = boot_args_start if BSP */ 227 /* %edi = boot_args_start */ 276 xor %edi, %edi /* AP, no "kernbootstruct" */ 297 movl %eax, %edi /* regparm(1) calling convention */ 318 /* %edi is already filled with header pointer */
|