Lines Matching refs:rdx
180 * Uses: %rsi, %rdi, %rdx, %rcx
194 * Uses: %rsi, %rdi, %rdx, %rcx, %rax
204 movq %gs:CPU_PROCESSOR,%rdx /* get processor */ ; \
205 movq %rcx,THREAD_TIMER(%rdx) /* set current timer */ ; \
207 subq (old##_STATE)+TIMER_TSTAMP(%rdx),%rax /* compute elapsed */; \
208 TIMER_UPDATE(%rdx,%rax,old##_STATE) /* update timer */ ; \
209 leaq (new##_STATE)(%rdx),%rcx /* point to new state */ ; \
210 movq %rcx,CURRENT_STATE(%rdx) /* set current state */ ; \
215 * Uses: %rsi, %rdi, %rdx, %rcx, %rax
221 * Uses: %rsi, %rdi, %rdx, %rcx, %rax
227 * Uses: %rsi, %rdi, %rdx, %rcx, %rax
234 movq %gs:CPU_PROCESSOR,%rdx /* get processor */ ; \
235 movq THREAD_TIMER(%rdx),%rcx /* get current timer */ ; \
238 movq KERNEL_TIMER(%rdx),%rcx /* get kernel timer */ ; \
241 movq CURRENT_STATE(%rdx),%rcx /* get current state */ ; \
245 leaq IDLE_STATE(%rdx),%rax /* get idle state */ ; \
248 leaq SYSTEM_STATE(%rdx),%rcx /* get system state */ ; \
249 movq %rcx,CURRENT_STATE(%rdx) /* set current state */ ; \
254 * Uses: %rsi, %rdi, %rdx, %rcx, %rax
261 movq %gs:CPU_PROCESSOR,%rdx /* get processor */ ; \
262 movq KERNEL_TIMER(%rdx),%rcx /* get kernel timer */ ; \
265 movq THREAD_TIMER(%rdx),%rcx /* interrupted timer */ ; \
268 movq CURRENT_STATE(%rdx),%rcx /* get current state */ ; \
272 movq %rcx,CURRENT_STATE(%rdx) /* set current state */ ; \