diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-10-24 17:57:29 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-10-24 17:57:29 -0400 |
commit | a5826b5ad482f44d293387dc7513e5e98802a54e (patch) | |
tree | b31a834be5abd9ccafa28fff0059267ea9710b65 /src/config.h | |
parent | 7edaa658f625125c306fd971cbda5d5afaee273b (diff) | |
download | seabios-a5826b5ad482f44d293387dc7513e5e98802a54e.tar.gz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index 7b472ad5..ab243deb 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 |