• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/i386/

Lines Matching refs:ebx

238  * Uses %eax, %ebx, %ecx, %edx, %esi, %edi.
262 movl %gs:CPU_PROCESSOR,%ebx /* get current processor */ ; \
263 movl THREAD_TIMER(%ebx),%ecx /* get current timer */ ; \
270 movl %ecx,THREAD_TIMER(%ebx) /* set current timer */ ; \
273 movl CURRENT_STATE(%ebx),%ecx /* current state */ ; \
278 movl %ecx,CURRENT_STATE(%ebx) /* set current state */ ; \
284 * Uses %eax,%ebx,%ecx,%edx,%esi,%edi.
290 * Uses %eax,%ebx,%ecx,%edx,%esi,%edi.
296 * Uses %eax,%ebx,%ecx,%edx,%esi,%edi.
305 movl %gs:CPU_PROCESSOR,%ebx /* get current processor */ ; \
306 movl THREAD_TIMER(%ebx),%ecx /* get current timer */ ; \
310 movl KERNEL_TIMER(%ebx),%ecx /* point to kernel timer */ ; \
315 movl CURRENT_STATE(%ebx),%ecx /* get current state */ ; \
320 leal IDLE_STATE(%ebx),%eax /* get idle state */ ; \
323 leal SYSTEM_STATE(%ebx),%ecx /* get system state */ ; \
324 movl %ecx,CURRENT_STATE(%ebx) /* set current state */ ; \
330 * Uses %eax,%ebx,%ecx,%edx,%esi,%edi.
339 movl %gs:CPU_PROCESSOR,%ebx /* get current processor */ ; \
340 movl KERNEL_TIMER(%ebx),%ecx /* point to kernel timer */ ; \
344 movl THREAD_TIMER(%ebx),%ecx /* interrupted timer */ ; \
349 movl CURRENT_STATE(%ebx),%ecx /* get current state */ ; \
354 movl %ecx,CURRENT_STATE(%ebx) /* set current state */ ; \
423 movl $(T_DOUBLE_FAULT),%ebx
430 movl $(T_SEGMENT_NOT_PRESENT),%ebx
437 movl $(T_STACK_FAULT),%ebx
444 movl $(T_GENERAL_PROTECTION),%ebx
456 movl %ebx,R_TRAPNO(%esp)
530 movl ACT_TASK(%ecx),%ebx
533 cmpl $0,TASK_VTIMERS(%ebx)
544 movl %gs:CPU_KERNEL_STACK,%ebx
545 xchgl %ebx,%esp /* switch to kernel stack */
548 CCALL1(user_trap, %ebx) /* call user trap routine */
561 movl %gs:CPU_KERNEL_STACK,%ebx
562 xchgl %ebx,%esp /* switch to kernel stack */
565 pushl %ebx /* save PCB stack */
660 movl ACT_TASK(%ecx),%ebx
663 cmpl $0,TASK_VTIMERS(%ebx)
801 movl ACT_TASK(%ecx),%ebx /* point to current task */
802 addl $1,TASK_SYSCALLS_UNIX(%ebx) /* increment call count */
805 cmpl $0,TASK_VTIMERS(%ebx)
816 movl %gs:CPU_KERNEL_STACK,%ebx
817 xchgl %ebx,%esp /* switch to kernel stack */
821 CCALL1(unix_syscall, %ebx)
831 movl ACT_TASK(%ecx),%ebx /* point to current task */
832 addl $1,TASK_SYSCALLS_MACH(%ebx) /* increment call count */
835 cmpl $0,TASK_VTIMERS(%ebx)
846 movl %gs:CPU_KERNEL_STACK,%ebx
847 xchgl %ebx,%esp /* switch to kernel stack */
851 CCALL1(mach_call_munger, %ebx)
861 movl ACT_TASK(%ecx),%ebx /* point to current task */
864 cmpl $0,TASK_VTIMERS(%ebx)
875 movl %gs:CPU_KERNEL_STACK,%ebx
876 xchgl %ebx,%esp /* switch to kernel stack */
880 CCALL1(machdep_syscall, %ebx)
890 movl ACT_TASK(%ecx),%ebx /* point to current task */
893 cmpl $0,TASK_VTIMERS(%ebx)
904 movl %gs:CPU_KERNEL_STACK,%ebx // Get the address of the kernel stack
905 xchgl %ebx,%esp // Switch to it, saving the previous
907 CCALL1(diagCall, %ebx) // Call diagnostics
946 movl %eax, %ebx
947 andl $(SYSCALL_CLASS_MASK), %ebx /* syscall class */
948 cmpl $(SYSCALL_CLASS_MACH<<SYSCALL_CLASS_SHIFT), %ebx
950 cmpl $(SYSCALL_CLASS_UNIX<<SYSCALL_CLASS_SHIFT), %ebx
952 cmpl $(SYSCALL_CLASS_MDEP<<SYSCALL_CLASS_SHIFT), %ebx
954 cmpl $(SYSCALL_CLASS_DIAG<<SYSCALL_CLASS_SHIFT), %ebx
957 movl %gs:CPU_KERNEL_STACK,%ebx
958 xchgl %ebx,%esp /* switch to kernel stack */
969 movl ACT_TASK(%ecx),%ebx /* point to current task */
970 addl $1,TASK_SYSCALLS_UNIX(%ebx) /* increment call count */
973 cmpl $0,TASK_VTIMERS(%ebx)
984 movl %gs:CPU_KERNEL_STACK,%ebx
985 xchgl %ebx,%esp /* switch to kernel stack */
989 CCALL1(unix_syscall64, %ebx)
997 movl ACT_TASK(%ecx),%ebx /* point to current task */
998 addl $1,TASK_SYSCALLS_MACH(%ebx) /* increment call count */
1001 cmpl $0,TASK_VTIMERS(%ebx)
1011 movl %gs:CPU_KERNEL_STACK,%ebx
1012 xchgl %ebx,%esp /* switch to kernel stack */
1016 CCALL1(mach_call_munger64, %ebx)
1025 movl ACT_TASK(%ecx),%ebx /* point to current task */
1028 cmpl $0,TASK_VTIMERS(%ebx)
1039 movl %gs:CPU_KERNEL_STACK,%ebx
1040 xchgl %ebx,%esp /* switch to kernel stack */
1044 CCALL1(machdep_syscall64, %ebx)
1052 movl ACT_TASK(%ecx),%ebx /* point to current task */
1055 cmpl $0,TASK_VTIMERS(%ebx)
1066 movl %gs:CPU_KERNEL_STACK,%ebx // Get the address of the kernel stack
1067 xchgl %ebx,%esp // Switch to it, saving the previous
1069 CCALL1(diagCall64, %ebx) // Call diagnostics