Lines Matching +full:1 +full:- +full:9
2 * arch/powerpc/boot/gamecube-head.S
5 * Copyright (C) 2004-2009 The GameCube Linux Team
19 * - if the data and instruction caches are enabled or not
20 * - if the MMU is enabled or not
32 mfmsr 9
33 rlwinm 9, 9, 0, ~((1<<4)|(1<<5)) /* MSR_DR|MSR_IR */
34 bcl 20, 31, 1f
35 1:
38 addi 8, 8, _mmu_off - 1b
40 mtsrr1 9
58 li 9, 0x0002 /* rw */
59 mtspr 0x211, 9 /* IBAT0L */
61 mtspr 0x219, 9 /* DBAT0L */
66 lis 9, 0x0c00
67 ori 9, 9, 0x002a /* uncached, guarded, rw */
68 mtspr 0x21b, 9 /* DBAT1L */
73 lis 9, 0x0100
74 ori 9, 9, 0x0002 /* rw */
75 mtspr 0x215, 9 /* IBAT2L */
77 mtspr 0x21d, 9 /* DBAT2L */
82 andi. 0, 8, (1<<15) /* HID0_ICE */
83 bne 1f
84 ori 8, 8, (1<<15)|(1<<11) /* HID0_ICE|HID0_ICFI*/
85 1:
86 andi. 0, 8, (1<<14) /* HID0_DCE */
87 bne 1f
88 ori 8, 8, (1<<14)|(1<<10) /* HID0_DCE|HID0_DCFI*/
89 1:
99 bcl 20, 31, 1f
100 1:
102 addi 8, 8, _mmu_on - 1b
103 mfmsr 9
104 ori 9, 9, (1<<4)|(1<<5) /* MSR_DR|MSR_IR */
106 mtsrr1 9