Home
last modified time | relevance | path

Searched refs:rsi (Results 1 – 25 of 42) sorted by relevance

12

/xnu-8020.140.41/osfmk/x86_64/
H A Dpal_routines_asm.s71 push %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
129 push %rsi
[all …]
H A Dmachine_routines_asm.s81 cmpq $1,%rsi /* check for unity fastpath */
84 mulq %rsi /* result is %rdx:%rax */
97 movl RNT_GENERATION(%rsi),%eax /* get current generation */
98 movl $0,RNT_GENERATION(%rsi) /* flag data as being updated */
99 addq %rdi,RNT_TSC_BASE(%rsi)
104 1: movl %eax,RNT_GENERATION(%rsi) /* update generation */
171 movl RNT_SHIFT(%rsi),%ecx
172 movl RNT_SCALE(%rsi),%edx
191 movq %rsi, %r13 /* continuation param */
205 movq %r14,%rsi /* wait result */
[all …]
H A Dlocore.s120 movl %eax, (%rsi)
137 movl %eax, (%rsi)
138 movl %edx, 4(%rsi)
151 shr $32, %rsi
195 xchg %rdi, %rsi /* source %rsi, dest %rdi */
223 mov %rcx, (%rsi)
241 movw %cx, (%rsi)
257 mov %ecx, (%rsi)
273 mov %rcx, (%rsi)
289 xchgq %rdi, %rsi /* source %rsi, dest %rdi */
[all …]
H A DWKdmDecompress_new.s97 movq $0, 0(%rsi, %rax)
98 movq $0, 8(%rsi, %rax)
99 movq $0, 16(%rsi, %rax)
100 movq $0, 24(%rsi, %rax)
101 movq $0, 32(%rsi, %rax)
102 movq $0, 40(%rsi, %rax)
103 movq $0, 48(%rsi, %rax)
104 movq $0, 56(%rsi, %rax)
113 movl %eax, 0(%rsi, %rdx) // store non-0 word in the destination buffer
122 movq %rsi, %r12 // dest_buf
[all …]
H A Dbcopy.s78 xchgq %rsi,%rdi
87 xchgq %rsi,%rdi
91 subq %rsi,%rax
103 addq %rcx,%rsi
105 decq %rsi
112 subq $7,%rsi
H A Dbzero.s74 movq %rsi, %rax /* move pattern (arg2) to rax */
88 movq %rsi, %rax /* move pattern (arg2) to rax */
109 movq %rsi,%rcx
H A Dmcount.s64 pushq %rsi
70 movq 8(%rbp),%rsi // push selfpc parameter for mcount()
78 popq %rsi
H A Dcswitch.s108 cmpq $0, %rsi
190 call *%rsi /* call routine to run */
H A Dstart.s363 push %rsi
419 xchgq %rdi, %rsi
420 call *%rsi
520 pop %rsi
H A DWKdmCompress_new.s205 #define next_low_bits %rsi
208 movq %rsi, %r12 // dest_buf
218 leaq 268(%rsi), %rbx // dest_buf + [TAGS_AREA_OFFSET + (num_input_words / 16)]*4
/xnu-8020.140.41/osfmk/i386/
H A Dx86_hypercall.h65 uint64_t rsi; member
106 hvg_hypercall6(uint64_t code, uint64_t rdi, uint64_t rsi, uint64_t rdx, uint64_t rcx, uint64_t r8, … in hvg_hypercall6() argument
116 "=S" (output->rsi), /* %2: output[2] */ in hvg_hypercall6()
123 "S" (rsi), /* %9: arg[1] */ in hvg_hypercall6()
149 const uint64_t rdi, const uint64_t rsi, in hvg_hypercall2() argument
152 return hvg_hypercall6(code, rdi, rsi, 0, 0, 0, 0, output); in hvg_hypercall2()
157 const uint64_t rdi, const uint64_t rsi, const uint64_t rdx, in hvg_hypercall3() argument
160 return hvg_hypercall6(code, rdi, rsi, rdx, 0, 0, 0, output); in hvg_hypercall3()
165 const uint64_t rdi, const uint64_t rsi, const uint64_t rdx, const uint64_t rcx, in hvg_hypercall4() argument
168 return hvg_hypercall6(code, rdi, rsi, rdx, rcx, 0, 0, output); in hvg_hypercall4()
[all …]
H A Drtclock_asm.h70 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 */
105 movq %rax,%rsi /* save timestamp */ ; \
111 movq %rsi,TIMER_TSTAMP(%rcx) /* set timestamp */ ; \
112 movq %rsi,%rax /* restore timestamp */ ; \
122 0: movq %rsi,TIMER_TSTAMP(%rcx) /* set timestamp */
131 movq %rax,%rsi /* save timestamp */ ; \
137 movq %rsi,TIMER_TSTAMP(%rcx) /* set timestamp */ ; \
[all …]
H A Dbsd_i386.c410 regs->rdi, regs->rsi, regs->rdx); in machdep_syscall64()
420 regs->rax = (*entry->routine.args64_2)(regs->rdi, regs->rsi); in machdep_syscall64()
424 regs->rax = (*entry->routine.args64_3)(regs->rdi, regs->rsi, regs->rdx); in machdep_syscall64()
429 error = (*entry->routine.args64_bsd_3)(&rval, regs->rdi, regs->rsi, regs->rdx); in machdep_syscall64()
653 regs->rdi, regs->rsi, regs->rdx, regs->r10, 0); in mach_call_munger64()
H A DDiagnostics.c147 data = regs->rsi; /* Get the number of processors */ in diagCall64()
267 copyout(&pkes, regs->rsi, sizeof(pkes)); in diagCall64()
268 curpos = regs->rsi + sizeof(pkes); in diagCall64()
H A Dpcb.c727 saved_state->rsi = ts->rsi; in set_thread_state64()
809 ts->rsi = saved_state->rsi; in get_thread_state64()
1008 saved_state->rsi = state->rsi; in machine_thread_set_state()
1901 state->rsi = saved_state->rsi; in machine_thread_get_kern_state()
1971 state->uts.ts64.rsi = saved_state->rsi; in machine_thread_get_kern_state()
H A Dasm.h353 leaq (%rsp), %rsi ;\
369 mov arg2, %rsi ;\
374 mov arg2, %rsi ;\
H A Dx86_hypercall.c96 memcpy(&vmcore->tag[reg_size * 2], &output.rsi, reg_size); in hvg_hcall_trigger_dump()
H A Di386_lock.s62 #define LOAD_PTR_ARG1(x) mov x, %rsi ;
/xnu-8020.140.41/osfmk/i386/commpage/
H A Dfifo_queues.s270 movq $0,(%rdx,%rsi) // zero forward link in new element
296 movq %rsi,(%rdi) // q empty so this is first element
299 movq %rsi,(%rdx,%rax) // point to new element from last
301 movq %rsi,8(%rdi) // new element becomes last in q
342 movq (%rdx,%rax),%rsi// get ptr to 2nd element in q
343 testq %rsi,%rsi // is there a 2nd element?
345 movq %rsi,8(%rdi) // no - clear "last" field of q head
347 movq %rsi,(%rdi) // update "first" field of q head
/xnu-8020.140.41/tests/
H A Dhvtest_x86_asm.s153 cmpq %rsi, %rax
155 notq %rsi
225 notq %rsi
477 movq $0x800, %rsi // VMCS_GUEST_ES
478 vmreadq %rsi, %rax
480 movq $0x6400, %rsi // VMCS_RO_EXIT_QUALIFIC
481 vmreadq %rsi, %rax
483 movq $0x6402, %rsi // VMCS_RO_IO_RCX
484 vmreadq %rsi, %rax
487 movq $0x800, %rsi // VMCS_GUEST_ES
[all …]
H A Dldt_code32.s40 movq %rsi, %rsp
239 pushq %rsi
253 movq 0x2c(%rbp), %rsi
282 popq %rsi
/xnu-8020.140.41/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-8020.140.41/osfmk/kdp/ml/x86_64/
H A Dkdp_machdep.c140 state->rsi = saved_state->rsi; in kdp_getstate()
175 saved_state->rsi = state->rsi; in kdp_setstate()
H A Dkdp_vm.c120 tstate->rsi = cpstate->rsi; in kern_collectth_state()
/xnu-8020.140.41/bsd/dev/i386/
H A Ddtrace_isa.c195 return (uint64_t)(regs->ss_64.rsi); in dtrace_getreg()
309 "=S" (regs->ss_64.rsi), in dtrace_vmcall()
318 "S" (regs->ss_64.rsi), in dtrace_vmcall()
426 memcpy(&str[16], &regs.ss_64.rsi, 8); in dtrace_livedump()

12