Enhance experimental option rom "threading" - enable preemption.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 13 Dec 2009 16:25:25 +0000 (11:25 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 13 Dec 2009 16:25:25 +0000 (11:25 -0500)
commitad901592515cf7eaddfb86f610919fd9479dd3da
tree7eda29fec6389e6a9e71c1f62257d3688ca7d56d
parent2edace134c323e47c3ad23f4635deb3d14a556b3
Enhance experimental option rom "threading" - enable preemption.

When experimental support for parallelizing option roms and hardware
   init (default disabled) is selected, add support for checking on
   hardware init progress from the RTC irq handler.
Enable ability for RTC to be turned on for additional users.
Allow regular option roms (not just vga option roms) to run in
   parallel with hardware init.
Don't use stack in transition32 / transition16 until new mode is
   entered.
Also, cleanup leaking of data handlers in usb code.
Also, decrease frequency of iomemcpy checks (every 2K instead of 1K).
12 files changed:
Makefile
src/biosvar.h
src/clock.c
src/misc.c
src/optionroms.c
src/post.c
src/romlayout.S
src/stacks.c
src/usb-ohci.c
src/usb-uhci.c
src/util.c
src/util.h