summaryrefslogtreecommitdiffstats
path: root/src/core/serial.c
diff options
context:
space:
mode:
authorMichael Brown2008-03-18 15:48:28 +0100
committerMichael Brown2008-03-18 15:48:28 +0100
commit2652abdc5f42f623ce4abf0efc117dc4f0d20474 (patch)
treec15ea19010d37aa352413c054a6f319de248422c /src/core/serial.c
parent[Settings] Allow encapsulated options to be specified as named settings (diff)
downloadipxe-2652abdc5f42f623ce4abf0efc117dc4f0d20474.tar.gz
ipxe-2652abdc5f42f623ce4abf0efc117dc4f0d20474.tar.xz
ipxe-2652abdc5f42f623ce4abf0efc117dc4f0d20474.zip
[Timers] Miscellaneous timer system fixes
Add missing comments to timer code. Lock system if no suitable timer source is found. Fix initialisation order so that timers are initialised before code that needs to use them.
Diffstat (limited to 'src/core/serial.c')
-rw-r--r--src/core/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/serial.c b/src/core/serial.c
index f6d0ecbb..a5b3f913 100644
--- a/src/core/serial.c
+++ b/src/core/serial.c
@@ -263,6 +263,6 @@ struct startup_fn serial_startup_fn __startup_fn ( STARTUP_NORMAL ) = {
* early debug messages. It is safe to call serial_init() multiple
* times.
*/
-struct init_fn serial_init_fn __init_fn ( INIT_EARLY ) = {
+struct init_fn serial_init_fn __init_fn ( INIT_CONSOLE ) = {
.initialise = serial_init,
};