diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-01-15 13:52:14 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-01-22 17:30:30 -0500 |
commit | bb1fcb4507095d47f504fab344e589f67e87854b (patch) | |
tree | 83b9901751179bb33721b991616ff2d68adb5ae6 /src/output.c | |
parent | 940fc1fc58b4f2a1c3baa8a5bb907f7b22ba0a31 (diff) | |
download | seabios-bb1fcb4507095d47f504fab344e589f67e87854b.tar.gz |
debug: Unify the SeaBIOS debug version banner.
Introduce debug_banner() and use it in all the places SeaBIOS version
is displayed for debugging purposes.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/output.c')
-rw-r--r-- | src/output.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/output.c b/src/output.c index 06d42a27..994a1d61 100644 --- a/src/output.c +++ b/src/output.c @@ -26,6 +26,12 @@ struct putcinfo { * Debug output ****************************************************************/ +void +debug_banner(void) +{ + dprintf(1, "SeaBIOS (version %s)\n", VERSION); +} + // Write a character to debug port(s). static void debug_putc(struct putcinfo *action, char c) |