Don't run to comboot API with interrupts off
authorH. Peter Anvin <hpa@zytor.com>
Mon, 18 May 2009 23:29:30 +0000 (16:29 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 18 May 2009 23:29:30 +0000 (16:29 -0700)
commit3bbcbd5e834ed51fc40a2a2f2b1476b1e655df76
treec505705811719caf105166c2c3e24a8d21c02413
parent3f00d3393230752919ba1f850d0e79901a67e64c
Don't run to comboot API with interrupts off

We have historically run the comboot API with interrupts off due to
concerns about stack overflow.  However, this is a really bad idea: we
can easily spend a fair bit of time servicing one of these routines,
especially when doing things like waiting for I/O.

In particular, do_idle should *never* be run with interrupts disabled.

Switch to running with interrupts enabled everywhere unless we have
specific reasons not to do so.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/comboot.inc