Displaying 2 results from an estimated 2 matches for "mboot_solaris_dhcp_hack".
2010 Apr 04
1
[PATCH] mboot: set boot device
...const union syslinux_derivative_info *sdi;
+ sdi = syslinux_derivative_info();
+ if (sdi->c.filesystem != SYSLINUX_FS_PXELINUX) {
+ mbinfo.boot_device = (sdi->disk.drive_number << 24) | 0xffffff;
+ mbinfo.flags |= MB_INFO_BOOTDEV;
+ }
+
if (opt.solaris)
mboot_solaris_dhcp_hack();
2010 Mar 21
6
[PATCH] mboot: set boot loader name
...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 <syslinux/bootpm.h>
+#include <syslinux/conf...