search for: prot_mode_base

Displaying 7 results from an estimated 7 matches for "prot_mode_base".

2013 Dec 04
0
Boot iPXE from syslinux/isolinux
...; ~15; /* Legacy value: pure hope... */ } int bios_boot_linux(void *kernel_buf, size_t kernel_size, @@ -159,7 +156,7 @@ int bios_boot_linux(void *kernel_buf, size_t kernel_size, { struct linux_header hdr, *whdr; size_t real_mode_size, prot_mode_size, base; - addr_t real_mode_base, prot_mode_base; + addr_t real_mode_base, prot_mode_base, prot_mode_max; addr_t irf_size; size_t cmdline_size, cmdline_offset; struct setup_data *sdp; @@ -243,9 +240,19 @@ int bios_boot_linux(void *kernel_buf, size_t kernel_size, real_mode_size = (hdr.setup_sects + 1) << 9; real_m...
2015 Feb 05
4
[PATCH] load_linux: correct a type
Correct base's type to match its initialization from prot_mode_base and passage to syslinux_memmap_find(). Tested with extlinux. Signed-off-by: Scot Doyle <lkml14 at scotdoyle.com> --- com32/lib/syslinux/load_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com32/lib/syslinux/load_linux.c b/com32/lib/syslinux/load_linux.c inde...
2013 Dec 04
2
Boot iPXE from syslinux/isolinux
"H. Peter Anvin" <hpa at zytor.com> on Tue, 2013/12/03 20:26: > On 10/24/2013 01:09 AM, Christian Hesse wrote: > >>> > >>> version 6.02-pre5 works, 6.02-pre6 does not. > >> > >> Struggled with git bisect, but finally succeeded: > >> > >> 8f470e7bfe75f6401f6c5432988c620b863ad274 is the first bad commit > >>
2013 Mar 27
1
[PATCH] Fix support for Linux kernel images with no protected mode code
...- a/com32/lib/syslinux/load_linux.c +++ b/com32/lib/syslinux/load_linux.c @@ -324,7 +324,8 @@ int syslinux_boot_linux(void *kernel_buf, size_t kernel_size, /* Place the kernel in memory */ /* First, find a suitable place for the protected-mode code */ - if (syslinux_memmap_type(amap, prot_mode_base, prot_mode_size) + if (prot_mode_size && + syslinux_memmap_type(amap, prot_mode_base, prot_mode_size) != SMT_FREE) { const struct syslinux_memmap *mp; if (!hdr.relocatable_kernel) @@ -423,12 +424,15 @@ int syslinux_boot_linux(void *kernel_buf, size_t kernel_size, } /* P...
2015 Feb 08
0
[PATCH] load_linux: relocate protected-mode code as intended
...kernel is relocatable and the protected mode code will not fit in the initially determined location, that code will be moved to the next available location. However, beginning with commit 8f470e7b, the code is moved to the initially determined location instead of the next available location because prot_mode_base is no longer updated to the correct location. Since whdr->code32_start is updated, it is pointing to the wrong execution start location, random code is executed and the machine is rebooted. Restore the old behavior by assigning prot_mode_base the value of base. Tested on a machine that exposed...
2015 Nov 27
0
Only 2.5G of RAM available when syslinux64.efi boots 32-bit linux 686-pae
...ntation/x86/boot.txt [2] Extensible Firmware Interface kernel tree : https://git.kernel.org/cgit/linux/kernel/git/mfleming/efi.git/ [3]: efi/x86_64: leave long mode properly : repo.or.cz/syslinux.git/commit/ae853e99a7aed22cb28b387e1e3cb32dbf1ab8fa com32/lib/syslinux/load_linux.c: update prot_mode_base : repo.or.cz/syslinux.git/commit/0a2dbb3392ee710838bea6bda80d4daad6b54780 load_linux: correct a type : repo.or.cz/syslinux.git/commit/83aad4f69065509ba5b1c080edccfed316a4cff0 > _______________________________________________ > Syslinux mailing list > Submissions to Syslinux at zytor...
2015 Nov 27
2
Only 2.5G of RAM available when syslinux64.efi boots 32-bit linux 686-pae
On Mon, Nov 23, 2015 at 3:06 PM, Ady via Syslinux <syslinux at zytor.com> wrote: > It saddens (me) > C'mon; really? As you asked. -- -Gene