From ddf5629eadafabbd2543db1a8268a4b6d27298bc Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Mon, 22 Sep 2008 03:01:04 -0400 Subject: [PATCH] Fix multiboot dolog -- add a shim. Sad face. --- grubload/multiboot_c.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/grubload/multiboot_c.c b/grubload/multiboot_c.c index be11ab1..55f3a4f 100644 --- a/grubload/multiboot_c.c +++ b/grubload/multiboot_c.c @@ -13,8 +13,6 @@ extern char _binary_realmode_bin_start[]; extern int _binary_realmode_bin_size; - - struct info_section { unsigned int signature; @@ -29,6 +27,12 @@ void panic(const char *msg) while(1) { __asm__("hlt"); } } +void dolog(char *s) +{ + /* little shim -- need to unify logging */ + puts(s); +} + void c_start(unsigned int magic, struct mb_info *mbinfo) { struct mod_info *mods = mbinfo->mods; -- 2.43.0