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

Lines Matching refs:in

7  * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
131 mtsprg 3,r14 ; Set the UAW in sprg3
350 ; The syscall number is in r0. All we do here is munge the number into an
376 rlwimi r11,r0,1,0xE ; move in low 3 bits of syscall number
381 mfctr r13 ; save callers ctr in r13
384 bctr ; dispatch (r11 in sprg3, r13 in sprg2, ctr in r13, per_proc in r11)
389 * is also done here now. while this is permanently in the
392 * hit, (b) in the single step debugger case there is so much
580 * syscalls come in several varieties, as follows:
583 * The UFTs are dispatched here, the Fast Traps are dispatched in hw_exceptions.s.
586 * One of these (0x6004) is a UFT, but most are dispatched in hw_exceptions.s. These
591 * 4. If (syscall & 0xFFFFF000) == 0x80000000, then it is a "firmware" call and is dispatched in
596 * syscall, which are dispatched in hw_exceptions.s via "mach_trap_table".
621 * If you define another UFT, try to use a number in one of the currently decoded ranges, ie one marked
622 * "unassigned" below. The dispatch table and the UFT handlers must reside in the first 32KB of
628 .short uftNormalSyscall-baseR ; 0000 0 these syscalls are not in a reserved range
629 .short uftNormalSyscall-baseR ; 0000 1 these syscalls are not in a reserved range
630 .short uftNormalSyscall-baseR ; 0000 2 these syscalls are not in a reserved range
631 .short uftNormalSyscall-baseR ; 0000 3 these syscalls are not in a reserved range
632 .short uftNormalSyscall-baseR ; 0000 4 these syscalls are not in a reserved range
633 .short uftNormalSyscall-baseR ; 0000 5 these syscalls are not in a reserved range
634 .short uftNormalSyscall-baseR ; 0000 6 these syscalls are not in a reserved range
635 .short uftNormalSyscall-baseR ; 0000 7 these syscalls are not in a reserved range
673 .short uftNormalSyscall-baseR ; 0101 0 these syscalls are not in a reserved range
674 .short uftNormalSyscall-baseR ; 0101 1 these syscalls are not in a reserved range
675 .short uftNormalSyscall-baseR ; 0101 2 these syscalls are not in a reserved range
676 .short uftNormalSyscall-baseR ; 0101 3 these syscalls are not in a reserved range
677 .short uftNormalSyscall-baseR ; 0101 4 these syscalls are not in a reserved range
678 .short uftNormalSyscall-baseR ; 0101 5 these syscalls are not in a reserved range
679 .short uftNormalSyscall-baseR ; 0101 6 these syscalls are not in a reserved range
680 .short uftNormalSyscall-baseR ; 0101 7 these syscalls are not in a reserved range
682 .short uftNormalSyscall-baseR ; 0110 0 these syscalls are not in a reserved range
683 .short uftNormalSyscall-baseR ; 0110 1 these syscalls are not in a reserved range
684 .short uftNormalSyscall-baseR ; 0110 2 these syscalls are not in a reserved range
685 .short uftNormalSyscall-baseR ; 0110 3 these syscalls are not in a reserved range
686 .short uftNormalSyscall-baseR ; 0110 4 these syscalls are not in a reserved range
687 .short uftNormalSyscall-baseR ; 0110 5 these syscalls are not in a reserved range
688 .short uftNormalSyscall-baseR ; 0110 6 these syscalls are not in a reserved range
689 .short uftNormalSyscall-baseR ; 0110 7 these syscalls are not in a reserved range
691 .short uftNormalSyscall-baseR ; 0111 0 these syscalls are not in a reserved range
692 .short uftNormalSyscall-baseR ; 0111 1 these syscalls are not in a reserved range
693 .short uftNormalSyscall-baseR ; 0111 2 these syscalls are not in a reserved range
694 .short uftNormalSyscall-baseR ; 0111 3 these syscalls are not in a reserved range
695 .short uftNormalSyscall-baseR ; 0111 4 these syscalls are not in a reserved range
696 .short uftNormalSyscall-baseR ; 0111 5 these syscalls are not in a reserved range
697 .short uftNormalSyscall-baseR ; 0111 6 these syscalls are not in a reserved range
698 .short uftNormalSyscall-baseR ; 0111 7 these syscalls are not in a reserved range
701 .short uftNormalSyscall-baseR ; 1000 1 these syscalls are not in a reserved range
702 .short uftNormalSyscall-baseR ; 1000 2 these syscalls are not in a reserved range
703 .short uftNormalSyscall-baseR ; 1000 3 these syscalls are not in a reserved range
704 .short uftNormalSyscall-baseR ; 1000 4 these syscalls are not in a reserved range
705 .short uftNormalSyscall-baseR ; 1000 5 these syscalls are not in a reserved range
706 .short uftNormalSyscall-baseR ; 1000 6 these syscalls are not in a reserved range
707 .short uftNormalSyscall-baseR ; 1000 7 these syscalls are not in a reserved range
709 .short uftNormalSyscall-baseR ; 1001 0 these syscalls are not in a reserved range
710 .short uftNormalSyscall-baseR ; 1001 1 these syscalls are not in a reserved range
711 .short uftNormalSyscall-baseR ; 1001 2 these syscalls are not in a reserved range
712 .short uftNormalSyscall-baseR ; 1001 3 these syscalls are not in a reserved range
713 .short uftNormalSyscall-baseR ; 1001 4 these syscalls are not in a reserved range
714 .short uftNormalSyscall-baseR ; 1001 5 these syscalls are not in a reserved range
715 .short uftNormalSyscall-baseR ; 1001 6 these syscalls are not in a reserved range
716 .short uftNormalSyscall-baseR ; 1001 7 these syscalls are not in a reserved range
718 .short uftNormalSyscall-baseR ; 1010 0 these syscalls are not in a reserved range
719 .short uftNormalSyscall-baseR ; 1010 1 these syscalls are not in a reserved range
720 .short uftNormalSyscall-baseR ; 1010 2 these syscalls are not in a reserved range
721 .short uftNormalSyscall-baseR ; 1010 3 these syscalls are not in a reserved range
722 .short uftNormalSyscall-baseR ; 1010 4 these syscalls are not in a reserved range
723 .short uftNormalSyscall-baseR ; 1010 5 these syscalls are not in a reserved range
724 .short uftNormalSyscall-baseR ; 1010 6 these syscalls are not in a reserved range
725 .short uftNormalSyscall-baseR ; 1010 7 these syscalls are not in a reserved range
727 .short uftNormalSyscall-baseR ; 1011 0 these syscalls are not in a reserved range
728 .short uftNormalSyscall-baseR ; 1011 1 these syscalls are not in a reserved range
729 .short uftNormalSyscall-baseR ; 1011 2 these syscalls are not in a reserved range
730 .short uftNormalSyscall-baseR ; 1011 3 these syscalls are not in a reserved range
731 .short uftNormalSyscall-baseR ; 1011 4 these syscalls are not in a reserved range
732 .short uftNormalSyscall-baseR ; 1011 5 these syscalls are not in a reserved range
733 .short uftNormalSyscall-baseR ; 1011 6 these syscalls are not in a reserved range
734 .short uftNormalSyscall-baseR ; 1011 7 these syscalls are not in a reserved range
736 .short uftNormalSyscall-baseR ; 1100 0 these syscalls are not in a reserved range
737 .short uftNormalSyscall-baseR ; 1100 1 these syscalls are not in a reserved range
738 .short uftNormalSyscall-baseR ; 1100 2 these syscalls are not in a reserved range
739 .short uftNormalSyscall-baseR ; 1100 3 these syscalls are not in a reserved range
740 .short uftNormalSyscall-baseR ; 1100 4 these syscalls are not in a reserved range
741 .short uftNormalSyscall-baseR ; 1100 5 these syscalls are not in a reserved range
742 .short uftNormalSyscall-baseR ; 1100 6 these syscalls are not in a reserved range
743 .short uftNormalSyscall-baseR ; 1100 7 these syscalls are not in a reserved range
745 .short uftNormalSyscall-baseR ; 1101 0 these syscalls are not in a reserved range
746 .short uftNormalSyscall-baseR ; 1101 1 these syscalls are not in a reserved range
747 .short uftNormalSyscall-baseR ; 1101 2 these syscalls are not in a reserved range
748 .short uftNormalSyscall-baseR ; 1101 3 these syscalls are not in a reserved range
749 .short uftNormalSyscall-baseR ; 1101 4 these syscalls are not in a reserved range
750 .short uftNormalSyscall-baseR ; 1101 5 these syscalls are not in a reserved range
751 .short uftNormalSyscall-baseR ; 1101 6 these syscalls are not in a reserved range
752 .short uftNormalSyscall-baseR ; 1101 7 these syscalls are not in a reserved range
754 .short uftNormalSyscall-baseR ; 1110 0 these syscalls are not in a reserved range
755 .short uftNormalSyscall-baseR ; 1110 1 these syscalls are not in a reserved range
756 .short uftNormalSyscall-baseR ; 1110 2 these syscalls are not in a reserved range
757 .short uftNormalSyscall-baseR ; 1110 3 these syscalls are not in a reserved range
758 .short uftNormalSyscall-baseR ; 1110 4 these syscalls are not in a reserved range
759 .short uftNormalSyscall-baseR ; 1110 5 these syscalls are not in a reserved range
760 .short uftNormalSyscall-baseR ; 1110 6 these syscalls are not in a reserved range
761 .short uftNormalSyscall-baseR ; 1110 7 these syscalls are not in a reserved range
763 .short uftNormalSyscall-baseR ; 1111 0 these syscalls are not in a reserved range
764 .short uftNormalSyscall-baseR ; 1111 1 these syscalls are not in a reserved range
765 .short uftNormalSyscall-baseR ; 1111 2 these syscalls are not in a reserved range
766 .short uftNormalSyscall-baseR ; 1111 3 these syscalls are not in a reserved range
767 .short uftNormalSyscall-baseR ; 1111 4 these syscalls are not in a reserved range
768 .short uftNormalSyscall-baseR ; 1111 5 these syscalls are not in a reserved range
769 .short uftNormalSyscall-baseR ; 1111 6 these syscalls are not in a reserved range
770 .short uftNormalSyscall-baseR ; 1111 7 these syscalls are not in a reserved range
778 * with interrupts and VM off, in 64-bit mode if supported, and with all registers live
795 cmpwi cr0,r11,hi16(runningVM|FamVMena|FamVMmode) ; Test in VM FAM
847 rlwinm. r11,r11,0,MSR_PR_BIT,MSR_PR_BIT ; really in the kernel?
855 ; r13 = callers cr0 in upper nibble (if uftRestoreThenRFI called)
872 uftX64: mtspr hsprg0,r14 ; Save a register in a Hypervisor SPRG
878 mtsprg 3,r14 ; Set the UAW in sprg3
889 ; format entry changes made must be done in both places.
909 andi. r20,r20,MASK(MSR_PR) ; Set cr0_eq is we are in problem state and the validity bit is not set
963 ; format entry changes made must be done in both places.
1047 andi. r20,r20,MASK(MSR_PR) ; Set cr0_eq when we are in problem state and the validity bit is not set
1093 ; format entry changes made must be done in both places.
1156 uftNormalFF: ; here with entire cr in r13
1160 uftNormal80: ; here with callers cr0 in r13
1177 * ENTRY: interrupts off, VM off, in 64-bit mode if supported
1178 * Caller's r13 saved in sprg2.
1179 * Caller's r11 saved in sprg3.
1180 * Exception code (ie, T_SYSTEM_CALL etc) in r11.
1190 * instruction to clear and allcoate a line in the cache. This way we won't take any cache
1248 la r1,saver4(r13) ; Point to the next line in case we need it
1251 dcbz 0,r1 ; allocate r4-r7 32-byte line in cache
1279 mtcrf 0xE2,r1 ; Put the features flags (that we care about) in the CR
1280 dcbz 0,r3 ; allocate r8-r11 32-byte line in cache
1291 dcbz 0,r3 ; allocate r12-r15 32-byte line in cache
1506 ; format changes made must be done in both places.
1538 mfsrr1 r18 ; SRR1 is still good in here
1548 mfctr r17 ; Get the CTR (still good in register)
1669 mtcrf 0x80,r1 ; Put the features flags (that we care about) in the CR
1671 mtcrf 0x40,r1 ; Put the features flags (that we care about) in the CR
1673 mtcrf 0x20,r1 ; Put the features flags (that we care about) in the CR
1676 mtcrf 0x02,r1 ; Put the features flags (that we care about) in the CR
1834 ; format changes made must be done in both places.
1848 rlwimi r9,r19,0,24,31 ; Slide in the cpu number
1862 mfsrr1 r18 ; SRR1 is still good in here
1870 mfctr r17 ; Get the CTR (still good in register)
1912 ; FP is disabled. We need to clear the FPSCR when we first start running in the
1958 lwz r20,lo16(xcpTable)(r11) ; Get the interrupt handler (note: xcpTable must be in 1st 32k of physical memory)
1979 ; Exception vector filter table (like everything in this file, must be in 1st 32KB of physical memory)
2064 cmplwi cr2,r6,1 ; See if original R0 had the CutTrace request code in it
2274 lwz r0,savesrr1+4(r13) ; Get the MSR in use at exception time
2326 ; context has been saved. The new savearea is in kind of hokey, the high order
2327 ; half is stored in saver7 and the low half is in saver3. We will just
2366 ; Check if the failure was in
2420 ld r23,savesrr0(r13) ; Grab the SRR0 in case we need bad instruction
2422 lwz r21,savedsisr(r13) ; We might need this in a bit
2423 ld r22,savedar(r13) ; We might need this in a bit
2512 ; Note: bug in early chips where scom reads are shifted right by 1. We fix that here.
2521 mckNoFix: std r24,savexdat0(r13) ; Save the MCK source in case we pass the error
2522 std r25,savexdat1(r13) ; Save the Core FIR in case we pass the error
2523 std r26,savexdat2(r13) ; Save the L2 FIR in case we pass the error
2524 std r27,savexdat3(r13) ; Save the BUS FIR in case we pass the error
2582 slbmfee r7,r0 ; Get the entry that is in SLB index 0
2603 bne++ mckL1D ; Yeah, we dealt with this back in the vector...
2606 bne++ mckL1T ; Yeah, we dealt with this back in the vector...
2642 rldicl. r0,r24,AsyMCKfir+1,63 ; Something in the FIR?
2681 ; Machine check cause is in a FIR. Suss it out here.
2682 ; Core FIR is in R25 and has been cleared in HW.
2758 ; General recovery for ERAT problems - handled in exception vector already
2860 rlwimi. r3,r4,0,0,31 ; Insert low part of 64-bit address in bottom 32 bits and see if ijsave is 0
2917 ; We assume kernel data is mapped contiguously in physical
2966 rlwimi. r3,r4,0,0,31 ; Insert low part of 64-bit address in bottom 32 bits and see if ijsave is 0
2986 mr r3,r4 ; Point to the new savearea in order to toss it
3010 mr r3,r21 ; Pass in the MSR we will go to
3028 * that were released as part of the exception exit path in hw_exceptions.
3031 * is in flux and should not be looked at here. This comes into play only
3040 * This code always loads the context in the savearea pointed to
3079 dcbt 0,r21 ; Touch in the first thing we need
3087 ; The code in there must ALWAYS leave our savearea on the local list, otherwise
3093 ; we will continue to use it. The code stream to inject is in it and we
3095 ; post-inject context. The field ijsave in the per-proc is used to point to the savearea.
3100 ; will nullify any injected code and pass the interrupt up in the original savearea. A normal
3110 mr r3,r31 ; Get the exiting savearea in parm register
3139 icbi 0,r26 ; Flush instructions in the first line
3147 injected: lwz r3,savesrr1+4(r31) ; Pass in the MSR we are going to
3162 dcbt 0,r28 ; Touch in r4-r7
3168 ; If we are injecting, we need to stay in supervisor state with instruction
3181 dcbt 0,r28 ; touch in r8-r11
3189 dcbt 0,r28 ; touch in r12-r15
3196 dcbt 0,r28 ; touch in r16-r19
3202 dcbt 0,r28 ; touch in r20-r23
3209 dcbt 0,r28 ; Touch in VSCR and FPSCR
3210 dcbt 0,r14 ; touch in CTR, DAR, DSISR, VRSAVE, and Exception code
3221 dcbt 0,r28 ; touch in r24-r27
3236 noavec3: dcbt 0,r22 ; touch in r28-r31
3241 dcbt 0,r17 ; touch in SRR0, SRR1, CR, XER, LR
3254 dcbz 0,r26 ; Clear and allocate next savearea we use in the off chance it is still in when we next interrupt
3351 dcbt 0,r21 ; Touch in the first thing we need
3359 ; The code in there must ALWAYS leave our savearea on the local list, otherwise
3365 ; we will continue to use it. The code stream to inject is in it and we
3367 ; post-inject context. The field ijsave in the per-proc is used to point to the savearea.
3372 ; will nullify any injected code and pass the interrupt up in the original savearea. A normal
3385 mr r3,r31 ; Get the exiting savearea in parm register
3412 icbi 0,r26 ; Flush instructions in the line
3419 injected2: lwz r3,savesrr1+4(r31) ; Pass in the MSR we will be going to
3430 dcbt 0,r28 ; Touch in r16-r31
3436 ; If we are injecting, we need to stay in supervisor state with instruction
3504 dcbz128 0,r26 ; Clear and allocate next savearea we use in the off chance it is still in when we next interrupt
3578 mr r31,r3 ; Get the savearea in the right register
3580 li r0,1 ; Get this just in case
3618 dcbt br0,r2 ; We will need this in just a sec
3704 .long 0 ; 5090 Saved mask while in debugger