aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-10-24 17:57:29 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-10-24 17:57:29 -0400
commita5826b5ad482f44d293387dc7513e5e98802a54e (patch)
treeb31a834be5abd9ccafa28fff0059267ea9710b65 /src/config.h
parent7edaa658f625125c306fd971cbda5d5afaee273b (diff)
downloadseabios-hppa-a5826b5ad482f44d293387dc7513e5e98802a54e.zip
seabios-hppa-a5826b5ad482f44d293387dc7513e5e98802a54e.tar.gz
seabios-hppa-a5826b5ad482f44d293387dc7513e5e98802a54e.tar.bz2
Add simple cooperative threading scheme to allow parallel hw init.
Enable system for running hardware initialization in parallel. The yield() call can now round-robin between "threads". Rework ata controller init to use a thread per controller. Make sure internal drives are registered in a defined order. Run keyboard initialization in a thread. Rework usb init to use a thread per controller.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 7b472ad..ab243de 100644
--- a/src/config.h
+++ b/src/config.h
@@ -22,6 +22,8 @@
// Screen writes are also sent to debug ports.
#define CONFIG_SCREEN_AND_DEBUG 1
+// Support running hardware initialization in parallel
+#define CONFIG_THREADS 1
// Support int13 disk/floppy drive functions
#define CONFIG_DRIVES 1
// Support floppy drive access