Rev 4614 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4614 | Rev 4638 | ||
---|---|---|---|
Line 129... | Line 129... | ||
129 | 129 | ||
130 | wrpr %g0, 0, %wstate ! use default spill/fill trap |
130 | wrpr %g0, 0, %wstate ! use default spill/fill trap |
131 | 131 | ||
132 | wrpr %g0, 0, %tl ! TL = 0, primary context |
132 | wrpr %g0, 0, %tl ! TL = 0, primary context |
133 | ! register is used |
133 | ! register is used |
- | 134 | wrpr %g0, 0, %gl |
|
134 | 135 | ||
135 | wrpr %g0, PSTATE_PRIV_BIT, %pstate ! disable interrupts and disable |
136 | wrpr %g0, PSTATE_PRIV_BIT, %pstate ! disable interrupts and disable |
136 | ! 32-bit address masking |
137 | ! 32-bit address masking |
137 | 138 | ||
138 | wrpr %g0, 0, %pil ! intialize %pil |
139 | wrpr %g0, 0, %pil ! intialize %pil |
Line 294... | Line 295... | ||
294 | /* Not reached. */ |
295 | /* Not reached. */ |
295 | 0: |
296 | 0: |
296 | ba 0b |
297 | ba 0b |
297 | nop |
298 | nop |
298 | 299 | ||
- | 300 | .align 8 |
|
- | 301 | .global temp_cpu_mondo_handler |
|
- | 302 | temp_cpu_mondo_handler: |
|
- | 303 | ||
- | 304 | set 0x3c, %o0 |
|
- | 305 | set 0x15, %o5 |
|
- | 306 | ta 0x80 |
|
- | 307 | ||
- | 308 | mov 0, %o0 |
|
- | 309 | setx before_ap_boots, %g1, %o1 |
|
- | 310 | setx 0x80400000, %g1, %o2 |
|
- | 311 | add %o1, %o2, %o1 |
|
- | 312 | __HYPERCALL_FAST(MMU_ENABLE) |
|
- | 313 | ||
- | 314 | before_ap_boots: |
|
- | 315 | setx 0x80400000, %g0, %o0 |
|
- | 316 | ba kernel_image_start |
|
- | 317 | nop |
|
- | 318 | ||
299 | .section K_DATA_START, "aw", @progbits |
319 | .section K_DATA_START, "aw", @progbits |
300 | 320 | ||
301 | #define INITIAL_STACK_SIZE 1024 |
321 | #define INITIAL_STACK_SIZE 1024 |
302 | 322 | ||
303 | .align STACK_ALIGNMENT |
323 | .align STACK_ALIGNMENT |