X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/f2da2cd360ec68bd03100e10d5b24daefc97c1ab..199c2b1bedd78a06dae62d736115273bd0127af1:/grubload/multiboot_c.c?ds=sidebyside 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;