Searched refs:rdi (Results 1 - 25 of 49) sorted by relevance

12

/darwin-on-arm/xnu/iokit/Kernel/x86_64/
H A DIOSharedLock.s39 movl $0, (%rdi)
57 cmpxchgl %edx, (%rdi)
/darwin-on-arm/xnu/osfmk/i386/
H A Drtclock_asm_native.h94 * %rdi points to nanotime info struct.
98 0: movl RNT_GENERATION(%rdi),%esi ; \
105 movl RNT_SHIFT(%rdi),%ecx ; \
107 subq RNT_TSC_BASE(%rdi),%rax /* tsc - tsc_base */ ; \
109 movl RNT_SCALE(%rdi),%ecx ; \
112 addq RNT_NS_BASE(%rdi),%rax /* add ns_base */ ; \
113 cmpl RNT_GENERATION(%rdi),%esi /* repeat if changed */ ; \
H A Dpal_routines_asm.s85 mov 8(%rbp), %rdi /* load func pointer */
86 call *%rdi /* call EFI runtime */
H A Di386_lock.s129 #define LOAD_STRING_ARG0(label) leaq label(%rip), %rdi ;
313 mov %rax, %rdi ; \
340 #define HW_LOCK_REGISTER %rdi
628 #define LCK_RW_REGISTER %rdi
910 /* lock is alread in %rdi */
982 /* lock is in %rdi already */
1231 #define LMTX_ARG0 %rdi
1233 #define LMTX_REG_ORIG %rdi
1243 #define LOAD_LMTX_REG(arg) mov %rdi, %rdx
2264 test $3, %rdi
[all...]
H A Dstartup64.c296 kprintf("sp->rdi: 0x%016llx\n", sp->rdi);
372 SNAP_REG(rdi);
388 KPRINT_REG(rdi);
H A Dtrap_native.c242 ss64p->isf.rsp, ss64p->rbp, ss64p->rsi, ss64p->rdi,
276 regs->isf.rsp, regs->rbp, regs->rsi, regs->rdi,
/darwin-on-arm/xnu/osfmk/x86_64/
H A Dbcopy.s62 /* rdi, rsi, rdx */
79 /* rdi, rsi, rdx */
82 xchgq %rsi,%rdi
87 * rdi, rsi, rdx
91 xchgq %rsi,%rdi
94 movq %rdi,%rax
111 addq %rcx,%rdi /* copy backwards */
113 decq %rdi
122 subq $7,%rdi
H A Dlocore.s118 movq %rdx, %rdi
123 movl %edx, (%rdi)
179 * rdi: source address
185 xchgq %rdi, %rsi /* source %rsi, dest %rdi */
212 movq (%rdi), %rcx
224 * rdi: source address
230 pushq %rdi
231 xchgq %rdi, %rsi /* source %rsi, dest %rdi */
[all...]
H A Dmachine_routines_asm.s42 ** Entry - %rdi contains pointer to 64 bit structure.
54 movq %rax, (%rdi)
79 * uint64_t tmrCvt(uint64_t time, // %rdi
84 movq %rdi,%rax
91 * uint64_t tsc_base_delta, // %rdi
97 addq %rdi,RNT_TSC_BASE(%rsi)
147 * rtc_nanotime_t *rntp); // %rdi
158 * uint64_t value, // %rdi
168 movq %rdi,%rax /* copy value (in TSC units) to convert */
179 movq %rdi,
[all...]
H A Dcswitch.s67 movq TH_KERNEL_STACK(%rdi),%rcx /* get kernel stack */
76 xorq %rdi,%rdi /* return zero (no old thread) */
83 * thread_continue_t continuation, // %rdi
102 movq %rdi,%rax /* return old thread */
123 movq %rax, %rdi /* load thread argument */
130 * thread_t thread, // %rdi
152 movq %rdi,%rax /* get old thread */
157 movq %rdx,%rdi /* processor arg to routine */
H A Dmcount.s63 pushq %rdi
69 movq 8(%rax),%rdi // mcount's caller's return address
79 popq %rdi
H A Dbzero.s66 movq %rdi, %r8
H A Dpal_routines_asm.s89 /* func pointer in %rdi */
90 call *%rdi /* call EFI runtime */
174 * uint64_t tsc, // %rdi
183 movq %rdi,RNT_TSC_BASE(%r8)
H A Didt64.s201 mov %rdi, R64_RDI(%rsp) /* arg0 .. */
491 mov R64_RDI(%rsp), %rdi
886 movq %rsp, %rdi /* also pass it as arg0 */
922 movq R64_RIP(%r13), %rdi
933 xor %edi, %edi /* zero %rdi */
949 movq %rsp, %rdi /* saved state addr */
1017 movq %gs:CPU_INT_STATE, %rdi
1105 mov %rsp, %rdi /* x86_saved_state */
1167 mov %gs:CPU_UBER_ARG_STORE, %rdi
1179 movq %gs:CPU_KERNEL_STACK,%rdi
[all...]
/darwin-on-arm/xnu/libsyscall/custom/
H A D__gettimeofday.s52 movq %rax, (%rdi)
53 movl %edx, 8(%rdi)
H A D__pipe.s44 movl %eax, (%rdi)
45 movl %edx, 4(%rdi)
H A D__vfork.s108 popq %rdi // return address in %rdi
112 pushq %rdi // put return address back on stack for cerror
116 movq (%rcx), %rdi
123 jmp *%rdi
129 jmp *%rdi
H A Dcustom.s78 movq %rax,%rdi
/darwin-on-arm/xnu/osfmk/i386/commpage/
H A Dfifo_queues.s242 * %rdi = ptr to queue head structure
252 cmpl $0,16(%rdi) // sniff the lockword
259 * %rdi = ptr to queue head structure
271 cmpxchgl %ecx,16(%rdi) // try to take the spinlock
277 cmpxchgl %ecx,16(%rdi) // try 2nd time to take the spinlock
283 cmpxchgl %ecx,16(%rdi) // try 3rd time to take the spinlock
289 movq 8(%rdi),%rcx // get ptr to last element in q
292 movq %rsi,(%rdi) // q empty so this is first element
297 movq %rsi,8(%rdi) // new element becomes last in q
298 movl $0,16(%rdi) // unloc
[all...]
H A Dpthreads.s167 * %rdi = lvalp
179 movl PTHRW_LVAL(%rdi),%eax // get old lval from mutex
188 cmpxchgl %r11d,PTHRW_LVAL(%rdi) // try to acquire lock
209 cmpxchgl %r11d,PTHRW_LVAL(%rdi) // try to update lock status atomically
213 movl PTHRW_UVAL(%rdi),%edx // arg 3: uval field from mutex
215 // arg 1: LVAL/UVAL ptr already in %rdi
/darwin-on-arm/xnu/libkern/x86_64/
H A DOSAtomic.s63 movq %rdi, %rax
85 xaddq %rdi, (%rsi) #; Atomic exchange and add
86 movq %rdi, %rax;
/darwin-on-arm/xnu/libkern/kxld/i386/
H A DWKdmDecompress.s269 leaq 272(%rdi), %r10 // TAGS_AREA_END
270 leaq 16(%rdi), %rax // TAGS_AREA_START
278 movl 16(%rdi,%r8,4), %edx // w = *next_word
301 mov 8(%rdi), %eax // WKdm header qpos end
302 leaq (%rdi,%rax,4), %r9 // QPOS_AREA_END
303 mov 4(%rdi), %eax // WKdm header qpos start
304 leaq (%rdi,%rax,4), %r8 // QPOS_AREA_START
325 mov 12(%rdi), %eax // LOW_BITS_AREA_END offset
326 leaq (%rdi,%rax,4), %rdi // LOW_BITS_AREA_EN
[all...]
H A DWKdmCompress.s346 #define next_input_word %rdi
367 leaq (%rdi,%rax,4), end_of_input // end_of_input = src_buf + num_input_words
451 movq dest_buf, %rdi // dest_buf
465 movl %eax, 16(%rdi) // save at *(dest_buf + HEADER_SIZE_IN_WORDS)
467 addq $4, %rdi // dest_buf += 4;
490 movq %rbx, %rdi // next_full_patt
500 movl %eax, (%rdi) // dest_next[0] = temp;
501 addq $4, %rdi // dest_next++;
507 //movq %rdi, %r11 // boundary_tmp
508 movq %rdi,
[all...]
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dsdt_x86.c97 dtrace_probe(sdt->sdp_id, regs->rdi, regs->rsi, regs->rdx, regs->rcx, regs->r8);
175 stack = (uintptr_t *)&saved_state->rdi;
/darwin-on-arm/xnu/osfmk/kdp/ml/x86_64/
H A Dkdp_vm.c113 tstate->rdi = cpstate->rdi;

Completed in 102 milliseconds

12