Replace irq_enable() regions with explicit calls to check for irqs.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 24 Oct 2009 15:06:08 +0000 (11:06 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 24 Oct 2009 15:06:08 +0000 (11:06 -0400)
commit10ad799ff49508127e75f57c3927603441232ae3
treea581669e7c2210c247f253c849e9a530fc38f719
parent89eb6241e51bc825cfbc1292802a960dcb48d778
Replace irq_enable() regions with explicit calls to check for irqs.

Add new function yield() which will permit irqs to trigger.
The yield() call enables irqs to occur in 32bit mode.
Add [num]sleep calls that yield instead of just spinning.
Rename existing int 1586 usleep call to biosusleep.
Convert many calls to mdelay to msleep.
16 files changed:
src/ata.c
src/block.c
src/boot.c
src/clock.c
src/floppy.c
src/kbd.c
src/mouse.c
src/ps2port.c
src/serial.c
src/smp.c
src/system.c
src/usb-ohci.c
src/usb-uhci.c
src/usb.c
src/util.c
src/util.h