SPARC BSPs: disable interrupts as early as possible

There is no point having interrupts enabled before reaching
boot_card() that disables interrupt. We better have it off
all the time.

It is required to turn off interrupt on secondary CPUs in an
SMP system.
This commit is contained in:
Daniel Hellstrom
2013-10-31 15:23:23 +01:00
committed by Sebastian Huber
parent 82e11be20c
commit b3211b5a63

View File

@@ -226,8 +226,8 @@ SYM(hard_reset):
sll %g3, %g2, %g3
mov %g3, %wim
or %g1, 0x20, %g1
wr %g1, %psr ! enable traps
or %g1, 0xf20, %g1
wr %g1, %psr ! enable traps and disable ints
nop
nop