Allow wait_irq to be called in 32bit code.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 23 May 2010 14:24:22 +0000 (10:24 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 23 May 2010 14:24:22 +0000 (10:24 -0400)
commit9c447c3a6d94b4e43e0b55a1d0cf0f9731472aa2
tree2cb21e691276a923a0e2e4252c673b0ca16a62c2
parent49cc72ba1e59e552754217225d66c7ef0feaf84f
Allow wait_irq to be called in 32bit code.

If wait_irq() is called from 32bit code, then jump to 16bit mode for
the wait.

Have wait_irq check for threads, and have it use yield if threads are
pending.  This ensures threads aren't delayed if anything calls
wait_irq.

Use wait_irq() in 32bit mode during a failed boot.
Makefile
src/boot.c
src/stacks.c
src/util.c
src/util.h