Bochs compatible SMP booting and enable_irqsave()
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 3 Apr 2009 23:58:19 +0000 (16:58 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 3 Apr 2009 23:58:19 +0000 (16:58 -0700)
commitae6f93a8af2fb2250df934fb303540576c5c3f79
treecc009746dedbfc44940e217ee6c8a856cda2c6fd
parent46446a474548bd583c3abad72fda09cd670fe2b8
Bochs compatible SMP booting and enable_irqsave()

Bochs didn't like receiving a second SIPI when HLTed (or ever, I think).
This removes the second SIPI, which kvm and the corei7 don't need.  Also
adds some functionality to enable/disabling interrupts.
inc/atomic.h
inc/x86.h
kern/init.c
kern/testing.c