Sparc's cpu_halt() enables interrupts
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 31 Aug 2011 21:16:11 +0000 (14:16 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:06 +0000 (17:36 -0700)
commit99282e4a0593e26e346caac8eff3fc06f1fcb096
tree027f2a21c83b85c9e1662ffa2b36d2d2b668b5c1
parent0b83422c8c662e4f8f1f854c10d8db86437592ac
Sparc's cpu_halt() enables interrupts

This isn't atomic, so may suffer from the race mentioned above.  This
compiles and runs, barely.  I say barely since there seem to be some
other sparc issues atm (running mhello, for instance).
kern/arch/sparc/arch.h
kern/arch/sparc/trap.c
kern/arch/sparc/trap_entry.S
tests/ucq.c