Rev 1792 | Rev 1972 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1792 | Rev 1906 | ||
---|---|---|---|
Line 56... | Line 56... | ||
56 | flushw |
56 | flushw |
57 | 57 | ||
58 | /* |
58 | /* |
59 | * Disable interrupts and disable address masking. |
59 | * Disable interrupts and disable address masking. |
60 | */ |
60 | */ |
61 | rdpr %pstate, %g2 |
- | |
62 | and %g2, ~(PSTATE_IE_BIT|PSTATE_AM_BIT), %g2 |
- | |
63 | wrpr %g2, 0, %pstate |
61 | wrpr %g0, PSTATE_PRIV_BIT, %pstate |
64 | 62 | ||
65 | set initial_stack_top, %g3 |
63 | set initial_stack_top, %sp |
66 | add %g3, -STACK_BIAS, %sp |
64 | add %sp, -STACK_BIAS, %sp |
67 | 65 | ||
68 | set ofw_cif, %l0 |
66 | set ofw_cif, %l0 |
69 | 67 | ||
70 | call ofw_init ! initialize OpenFirmware |
68 | call ofw_init ! initialize OpenFirmware |
71 | stx %o4, [%l0] |
69 | stx %o4, [%l0] |