Lines Matching refs:rdi
93 mov $1, %rdi
95 // %rdi is now the index this CPU should use to grab resources
99 shl $1, %rdi
102 mov BCD_PER_CPU_BASE_OFFSET(%rsi, %rdi, 8), %rsp
107 add $1, %rdi
108 mov BCD_PER_CPU_BASE_OFFSET(%rsi, %rdi, 8), %rdx
113 mov BCD_CPU_WAITING_OFFSET(%esi), %rdi
157 mov RED_REGISTERS_OFFSET(%esi), %rdi
192 mov 120(%rdi), %rsp
194 // Load the IDT. Note this uses the stack and clobbers %rax, but not %rdi.
197 mov 8(%rdi), %rsi
198 mov 16(%rdi), %rbp
199 mov 24(%rdi), %rbx
200 mov 32(%rdi), %rdx
201 mov 40(%rdi), %rcx
202 mov 48(%rdi), %rax
203 mov 56(%rdi), %r8
204 mov 64(%rdi), %r9
205 mov 72(%rdi), %r10
206 mov 80(%rdi), %r11
207 mov 88(%rdi), %r12
208 mov 96(%rdi), %r13
209 mov 104(%rdi), %r14
210 mov 112(%rdi), %r15
212 // Note: %rdi is not restored, but it is a caller-save register anyway.
213 // If we want to restore %rdi, we could potentially use the stack here
214 // to do something like "push 128(%rdi); mov (%rdi), %rdi; ret".
217 jmp *128(%rdi)