Displaying 1 result from an estimated 1 matches for "mb_info_boot_loader_name".
2010 Mar 21
6
[PATCH] mboot: set boot loader name
...main(int argc, char *argv[])
/* Add auxilliary information */
mboot_make_memmap();
mboot_apm();
+
+ /* Set boot loader name */
+ const struct syslinux_version *sv;
+ sv = syslinux_version();
+ mbinfo.boot_loader_name = (uint32_t)sv->version_string;
+ mbinfo.flags |= MB_INFO_BOOT_LOADER_NAME;
+
if (opt.solaris)
mboot_solaris_dhcp_hack();
diff --git a/com32/mboot/mboot.h b/com32/mboot/mboot.h
index 993b31a..4238333 100644
--- a/com32/mboot/mboot.h
+++ b/com32/mboot/mboot.h
@@ -50,6 +50,7 @@
#include <syslinux/loadfile.h>
#include <syslinux/movebits.h>
#include &l...