search for: mboot_apm

Displaying 3 results from an estimated 3 matches for "mboot_apm".

2010 Apr 04
1
[PATCH] mboot: set boot device
...evice based on the derivative information. Signed-off-by: Sebastian Herbszt <herbszt at gmx.de> diff --git a/com32/mboot/mboot.c b/com32/mboot/mboot.c index d008da0..526d10a 100644 --- a/com32/mboot/mboot.c +++ b/com32/mboot/mboot.c @@ -224,6 +224,14 @@ int main(int argc, char *argv[]) mboot_apm(); mboot_syslinux_info(); + /* Set boot device info */ + 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; +...
2010 Mar 21
6
[PATCH] mboot: set boot loader name
...tian Herbszt <herbszt at gmx.de> diff --git a/com32/mboot/mboot.c b/com32/mboot/mboot.c index 8425e06..76ef7a0 100644 --- a/com32/mboot/mboot.c +++ b/com32/mboot/mboot.c @@ -222,6 +222,13 @@ int 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/m...
2016 Jun 04
0
[PATCH] Wedding gift, removing double l from auxilliary
...|= MB_INFO_CMDLINE; } - /* Map auxilliary images */ + /* Map auxiliary images */ if (nmodules > 1) { if (map_modules(modules + 1, nmodules - 1)) return 1; } - /* Add auxilliary information */ + /* Add auxiliary information */ mboot_make_memmap(); mboot_apm(); mboot_syslinux_info(); diff --git a/core/i386/syslinux.ld b/core/i386/syslinux.ld index 36b1a69..e8d32dd 100644 --- a/core/i386/syslinux.ld +++ b/core/i386/syslinux.ld @@ -207,7 +207,7 @@ SECTIONS xfer_buf_seg = core_xfer_buf >> 4; /* - * The auxilliary data segment is used by...