From: Joshua Wise Date: Mon, 22 Sep 2008 07:01:04 +0000 (-0400) Subject: Fix multiboot dolog -- add a shim. Sad face. X-Git-Url: http://git.joshuawise.com/netwatch.git/commitdiff_plain/ddf5629eadafabbd2543db1a8268a4b6d27298bc?hp=-c Fix multiboot dolog -- add a shim. Sad face. --- ddf5629eadafabbd2543db1a8268a4b6d27298bc 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;