diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-05-23 10:24:22 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-05-23 10:24:22 -0400 |
commit | 9c447c3a6d94b4e43e0b55a1d0cf0f9731472aa2 (patch) | |
tree | 2cb21e691276a923a0e2e4252c673b0ca16a62c2 /Makefile | |
parent | 49cc72ba1e59e552754217225d66c7ef0feaf84f (diff) | |
download | seabios-9c447c3a6d94b4e43e0b55a1d0cf0f9731472aa2.tar.gz |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ SRC16=$(SRCBOTH) system.c disk.c apm.c font.c SRC32FLAT=$(SRCBOTH) post.c shadow.c memmap.c coreboot.c boot.c \ acpi.c smm.c mptable.c smbios.c pciinit.c optionroms.c mtrr.c \ lzmadecode.c usb-hub.c paravirt.c -SRC32SEG=util.c output.c pci.c pcibios.c apm.c +SRC32SEG=util.c output.c pci.c pcibios.c apm.c stacks.c cc-option = $(shell if test -z "`$(1) $(2) -S -o /dev/null -xc \ /dev/null 2>&1`"; then echo "$(2)"; else echo "$(3)"; fi ;) |