search for: syslinux_dump_memmap

Displaying 6 results from an estimated 6 matches for "syslinux_dump_memmap".

2014 Nov 22
3
Use z size specifier for printf-ing size_t variable
..._t maxlen) */ diff --git a/com32/modules/pmload.c b/com32/modules/pmload.c index 6808d38..d6239ec 100644 --- a/com32/modules/pmload.c +++ b/com32/modules/pmload.c @@ -84,10 +84,10 @@ int boot_raw(void *ptr, size_t len, addr_t where, char **argv) dprintf("Initial memory map:\n"); syslinux_dump_memmap(mmap); - dprintf("Segment at 0x%08x len 0x%08x\n", where, len); + dprintf("Segment at 0x%08x len 0x%08zx\n", where, len); if (syslinux_memmap_type(amap, where, len) != SMT_FREE) { - printf("Memory segment at 0x%08x (len 0x%08x) is unavailable\n", + print...
2014 Feb 28
0
VirtualBox 4.1.x can reproduce bug 45
...> #45? > > TIA, > Ady. I followed hpa's instructions (given at #syslinux, on syslinux 6.03pre3): 1_ Add: -DDEBUG=1 -DCORE_DEBUG=1 to mk/devel.mk. 2_ Build. I used 'make bios' 3_ Test with: debug.c32 -e bios_boot_linux debug.c32 -e syslinux_do_shuffle debug.c32 -e syslinux_dump_memmap debug.c32 -e syslinux_dump_movelist (I actually used debug.c32 -e <func1> , <func2> , ... I am typing it as 4 individual lines here just for clarity.) 4_ Launch the kernel (which fails as described in bug 45). I am attaching the console output. Hopefully it helps with bug 45. TIA,...
2013 Dec 04
0
Boot iPXE from syslinux/isolinux
...} - /* Get the memory map */ - mmap = syslinux_memory_map(); /* Memory map for shuffle_boot */ - amap = syslinux_dup_memmap(mmap); /* Keep track of available memory */ - if (!mmap || !amap) { - errno = ENOMEM; - goto bail; - } - dprintf("Initial memory map:\n"); syslinux_dump_memmap(mmap); @@ -304,13 +303,21 @@ int bios_boot_linux(void *kernel_buf, size_t kernel_size, /* Place the kernel in memory */ - /* First, find a suitable place for the protected-mode code */ + /* + * First, find a suitable place for the protected-mode code. If + * the kernel ima...
2015 Jan 25
0
Use z size specifier for printf-ing size_t variable
...32/modules/pmload.c b/com32/modules/pmload.c > index 6808d38..d6239ec 100644 > --- a/com32/modules/pmload.c > +++ b/com32/modules/pmload.c > @@ -84,10 +84,10 @@ int boot_raw(void *ptr, size_t len, addr_t where, char **argv) > dprintf("Initial memory map:\n"); > syslinux_dump_memmap(mmap); > > - dprintf("Segment at 0x%08x len 0x%08x\n", where, len); > + dprintf("Segment at 0x%08x len 0x%08zx\n", where, len); > > if (syslinux_memmap_type(amap, where, len) != SMT_FREE) { > - printf("Memory segment at 0x%08x (len 0x%08x)...
2014 Feb 26
2
VirtualBox 4.1.x can reproduce bug 45
Short summary: I think bug #45 http://bugzilla.syslinux.org/show_bug.cgi?id=45 "Regression in Syslinux 6.xx. Doesn't 'hand over' to linux kernel" can be reproduced using VirtualBox 4.1.x while trying to boot a relatively-newish Linux kernel. Now, for more details... Under VBox 4.1.x and using ISOLINUX 4.xx, a newish Linux kernel boots correctly. Under VBox 4.1.x and
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 > >>