Rev 3479 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3479 | Rev 3618 | ||
---|---|---|---|
Line 94... | Line 94... | ||
94 | wrpr %g0, 0, %otherwin ! make sure the window state is |
94 | wrpr %g0, 0, %otherwin ! make sure the window state is |
95 | ! consistent |
95 | ! consistent |
96 | wrpr %g0, NWINDOWS - 1, %cleanwin ! prevent needless clean_window |
96 | wrpr %g0, NWINDOWS - 1, %cleanwin ! prevent needless clean_window |
97 | ! traps for kernel |
97 | ! traps for kernel |
98 | 98 | ||
99 | wrpr %g0, 0, %wstate ! use the default spill/fill trap |
99 | wrpr %g0, 0, %wstate ! use default spill/fill trap |
100 | 100 | ||
101 | wrpr %g0, 0, %tl ! TL = 0, primary context |
101 | wrpr %g0, 0, %tl ! TL = 0, primary context |
102 | ! register is used |
102 | ! register is used |
103 | 103 | ||
104 | wrpr %g0, PSTATE_PRIV_BIT, %pstate ! disable interrupts and disable |
104 | wrpr %g0, PSTATE_PRIV_BIT, %pstate ! disable interrupts and disable |