Rev 3674 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3674 | Rev 4348 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | .global halt |
38 | .global halt |
39 | .global memcpy |
39 | .global memcpy |
40 | .global jump_to_kernel |
40 | .global jump_to_kernel |
41 | 41 | ||
42 | halt: |
42 | halt: |
43 | b halt |
43 | ba %xcc, halt |
44 | nop |
44 | nop |
45 | 45 | ||
46 | memcpy: |
46 | memcpy: |
47 | mov %o0, %o3 ! save dst |
47 | mov %o0, %o3 ! save dst |
48 | add %o1, 7, %g1 |
48 | add %o1, 7, %g1 |
Line 114... | Line 114... | ||
114 | * "subarchitecture" variable (set in the bootstrap). |
114 | * "subarchitecture" variable (set in the bootstrap). |
115 | */ |
115 | */ |
116 | set subarchitecture, %g2 |
116 | set subarchitecture, %g2 |
117 | ldub [%g2], %g2 |
117 | ldub [%g2], %g2 |
118 | cmp %g2, 3 |
118 | cmp %g2, 3 |
119 | be 1f |
119 | be %xcc, 1f |
120 | nop |
120 | nop |
121 | 0: |
121 | 0: |
122 | call icache_flush |
122 | call icache_flush |
123 | nop |
123 | nop |
124 | 1: |
124 | 1: |