Rev 1068 | Rev 1075 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1068 | Rev 1071 | ||
---|---|---|---|
Line 103... | Line 103... | ||
103 | 103 | ||
104 | copy_end: |
104 | copy_end: |
105 | 105 | ||
106 | # invalidate segment registers |
106 | # invalidate segment registers |
107 | 107 | ||
108 | # li r31, 16 |
108 | li r31, 16 |
109 | # mtctr r31 |
109 | mtctr r31 |
110 | # li r31, 0 |
110 | li r31, 0 |
111 | # li r30, 0 |
111 | li r30, 0 |
112 | 112 | ||
113 | seg_fill: |
113 | seg_fill: |
114 | 114 | ||
115 | # mtsrin r30, r31 |
115 | mtsrin r30, r31 |
116 | # addis r31, r31, 0x1000 # move to next SR |
116 | addis r31, r31, 0x1000 # move to next SR |
117 | # |
117 | |
118 | # bdnz seg_fill |
118 | bdnz seg_fill |
119 | 119 | ||
120 | # invalidate block address translation registers |
120 | # invalidate block address translation registers |
121 | 121 | ||
122 | mtspr ibat0u, r30 |
122 | mtspr ibat0u, r30 |
123 | mtspr ibat0l, r30 |
123 | mtspr ibat0l, r30 |