Rev 949 | Rev 956 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 949 | Rev 953 | ||
|---|---|---|---|
| Line 36... | Line 36... | ||
| 36 | 36 | ||
| 37 | .text |
37 | .text |
| 38 | 38 | ||
| 39 | .global memsetb |
39 | .global memsetb |
| 40 | .global memcpy |
40 | .global memcpy |
| 41 | .global halt |
- | |
| 42 | .global jump_to_kernel |
41 | .global jump_to_kernel |
| 43 | 42 | ||
| 44 | memsetb: |
43 | memsetb: |
| 45 | rlwimi r5, r5, 8, 16, 23 |
44 | rlwimi r5, r5, 8, 16, 23 |
| 46 | rlwimi r5, r5, 16, 0, 15 |
45 | rlwimi r5, r5, 16, 0, 15 |
| Line 144... | Line 143... | ||
| 144 | rlwinm. r7, r5, 32-3, 3, 31 |
143 | rlwinm. r7, r5, 32-3, 3, 31 |
| 145 | beq 2b |
144 | beq 2b |
| 146 | mtctr r7 |
145 | mtctr r7 |
| 147 | b 1b |
146 | b 1b |
| 148 | 147 | ||
| 149 | halt: |
- | |
| 150 | b halt |
- | |
| 151 | - | ||
| 152 | flush_instruction_cache: |
148 | flush_instruction_cache: |
| 153 | 149 | ||
| 154 | # Flush data cache |
150 | # Flush data cache |
| 155 | 151 | ||
| 156 | lis r3, flush_buffer@h |
152 | lis r3, flush_buffer@h |