Searched refs:rsi (Results 1 - 25 of 37) sorted by relevance

12

/xnu-2422.115.4/osfmk/x86_64/
H A Dpal_routines_asm.s71 push %rsi
75 /* efi_reg in %rsi */
83 mov 0(%rsi), %rcx
84 mov 8(%rsi), %rdx
85 mov 16(%rsi), %r8
86 mov 24(%rsi), %r9
87 mov 32(%rsi), %rax
92 mov -48(%rbp), %rsi /* load efi_reg into %esi */
93 mov %rax, 32(%rsi) /* save RAX back */
100 pop %rsi
[all...]
H A Dbcopy.s62 /* rdi, rsi, rdx */
79 /* rdi, rsi, rdx */
82 xchgq %rsi,%rdi
87 * rdi, rsi, rdx
91 xchgq %rsi,%rdi
95 subq %rsi,%rax
112 addq %rcx,%rsi
114 decq %rsi
121 subq $7,%rsi
H A Dbzero.s67 movq %rsi, %rax /* move pattern (arg2) to rax */
92 movq %rsi,%rcx
98 movq %rsi,%rcx
H A Dmachine_routines_asm.s80 * uint64_t conversion) // %rsi
85 mulq %rsi /* result is %rdx:%rax */
92 * rtc_nanotime_t *dst); // %rsi
95 movl RNT_GENERATION(%rsi),%eax /* get current generation */
96 movl $0,RNT_GENERATION(%rsi) /* flag data as being updated */
97 addq %rdi,RNT_TSC_BASE(%rsi)
102 1: movl %eax,RNT_GENERATION(%rsi) /* update generation */
159 * pal_rtc_nanotime_t *rntp); // %rsi
169 movl RNT_SHIFT(%rsi),%ecx
170 movl RNT_SCALE(%rsi),
[all...]
H A Dlocore.s122 movl %eax, (%rsi)
139 movl %eax, (%rsi)
140 movl %edx, 4(%rsi)
153 shr $32, %rsi
179 * rsi: destination address
184 xchgq %rdi, %rsi /* source %rsi, dest %rdi */
212 mov %rcx, (%rsi)
222 * rsi: destination address
230 movw %cx, (%rsi)
[all...]
H A Dmcount.s64 pushq %rsi
70 movq 8(%rbp),%rsi // push selfpc parameter for mcount()
78 popq %rsi
H A DWKdmDecompress_new.s84 movq %rsi, %r12 // dest_buf
121 movq %r13, %rsi // tempTagsArray
219 cmpb $2, -1(%rsi)
231 incq %rsi // next_tag++
233 cmpb $1, -1(%rsi)
H A Dcswitch.s82 * thread_t old, // %rsi
90 cmpq $0, %rsi
131 * void (*routine)(processor_t), // %rsi
158 call *%rsi /* call routine to run */
H A DWKdmCompress_new.s181 #define next_low_bits %rsi
184 movq %rsi, %r12 // dest_buf
194 leaq 268(%rsi), %rbx // dest_buf + [TAGS_AREA_OFFSET + (num_input_words / 16)]*4
H A Dstart.s365 push %rsi
421 xchgq %rdi, %rsi
422 call *%rsi
522 pop %rsi
/xnu-2422.115.4/libsyscall/wrappers/
H A Dmach_absolute_time.s122 movq $(_COMM_PAGE_TIME_DATA_START),%rsi
124 movl _NT_GENERATION(%rsi),%r8d // get generation
139 movl _NT_SHIFT(%rsi),%ecx
141 subq _NT_TSC_BASE(%rsi), %rax // rax := (tsc - base_tsc)
143 movl _NT_SCALE(%rsi),%ecx
146 addq _NT_NS_BASE(%rsi),%rax // (((tsc - base_tsc) * scale) >> 32) + ns_base
148 cmpl _NT_GENERATION(%rsi),%r8d // did the data change during computation?
/xnu-2422.115.4/osfmk/i386/
H A Drtclock_asm.h52 * Uses: %rsi, %rdi, %rdx, %rcx
66 * Uses: %rsi, %rdi, %rdx, %rcx, %rax
70 movq %rax,%rsi /* save timestamp */ ; \
75 movq %rsi,TIMER_TSTAMP(%rcx) /* set timestamp */ ; \
78 movq %rsi,%rax /* restore timestamp */ ; \
83 movq %rsi,TIMER_TSTAMP(%rcx) /* set timestamp */
87 * Uses: %rsi, %rdi, %rdx, %rcx, %rax
93 * Uses: %rsi, %rdi, %rdx, %rcx, %rax
99 * Uses: %rsi, %rdi, %rdx, %rcx, %rax
105 movq %rax,%rsi /* sav
[all...]
H A Dstartup64.c165 kprintf("sp->rsi: 0x%016llx\n", sp->rsi);
240 SNAP_REG(rsi);
256 KPRINT_REG(rsi);
H A Dtrap_native.c164 regs->isf.rsp, regs->rbp, regs->rsi, regs->rdi,
H A Di386_lock.s124 #define LOAD_PTR_ARG1(x) mov x, %rsi ;
271 mov lck, %rsi ; \
399 addq %rax, %rsi /* %rsi is the timeout expiry */
421 cmpq %rsi, %rax /* compare to timeout */
875 mov %eax,%esi /* old flags in %rsi */
1018 #define LMTX_ARG1 %rsi
1881 bts %edi,(%rsi)
1886 btr %edi,(%rsi)
1893 bts %edi,(%rsi)
[all...]
H A DDiagnostics.c140 data = regs->rsi; /* Get the number of processors */
254 copyout(&pkes, regs->rsi, sizeof(pkes));
255 curpos = regs->rsi + sizeof(pkes);
H A Dasm.h363 leaq (%rsp), %rsi ;\
379 mov arg2, %rsi ;\
384 mov arg2, %rsi ;\
H A Dpcb_native.c312 saved_state->rsi = state->rsi;
H A Dpcb.c702 saved_state->rsi = ts->rsi;
766 ts->rsi = saved_state->rsi;
900 saved_state->rsi = state->rsi;
1588 state->rsi = saved_state->rsi;
1657 state->uts.ts64.rsi = saved_state->rsi;
[all...]
/xnu-2422.115.4/libkern/x86_64/
H A DOSAtomic.s65 cmpxchgq %rsi, (%rdx) #; CAS (rax is an implicit operand)
79 test $7, %rsi
85 xaddq %rdi, (%rsi) #; Atomic exchange and add
97 test $3, %rsi
103 xaddl %edi, (%rsi) #; Atomic exchange and add
/xnu-2422.115.4/osfmk/i386/commpage/
H A Dfifo_queues.s260 * %rsi = ptr to new element to enqueue
266 movq $0,(%rdx,%rsi) // zero forward link in new element
292 movq %rsi,(%rdi) // q empty so this is first element
295 movq %rsi,(%rdx,%rcx) // point to new element from last
297 movq %rsi,8(%rdi) // new element becomes last in q
338 movq (%rdx,%rax),%rsi// get ptr to 2nd element in q
339 testq %rsi,%rsi // is there a 2nd element?
341 movq %rsi,8(%rdi) // no - clear "last" field of q head
343 movq %rsi,(
[all...]
/xnu-2422.115.4/osfmk/kdp/ml/x86_64/
H A Dkdp_vm.c114 tstate->rsi = cpstate->rsi;
H A Dkdp_machdep.c150 state->rsi = saved_state->rsi;
185 saved_state->rsi = state->rsi;
/xnu-2422.115.4/bsd/dev/i386/
H A Dsdt_x86.c60 dtrace_probe(sdt->sdp_id, regs->rdi, regs->rsi, regs->rdx, regs->rcx, regs->r8);
/xnu-2422.115.4/osfmk/mach/i386/
H A Dthread_status.h382 uint64_t rsi; member in struct:x86_saved_state64

Completed in 174 milliseconds

12