search for: mboot_high_water_mark

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

2014 Nov 22
3
Use z size specifier for printf-ing size_t variable
...ddr_t map_data(const void *data, size_t len, size_t align, int flags) return 0; } - dprintf("Mapping 0x%08x bytes (%#x pad) at 0x%08x\n", len, pad, start); + dprintf("Mapping 0x%08zx bytes (%#x pad) at 0x%08x\n", len, pad, start); if (start + len + pad > mboot_high_water_mark) mboot_high_water_mark = start + len + pad; diff --git a/com32/menu/menumain.c b/com32/menu/menumain.c index b8cb06f..ed72c08 100644 --- a/com32/menu/menumain.c +++ b/com32/menu/menumain.c @@ -230,7 +230,7 @@ static int ask_passwd(const char *menu_entry) for (x = 2; x <= WIDTH - 2 * PASSW...
2015 Oct 10
3
[PATCH] Extend Multiboot1 with support for ELF64 file format
...f (msize > dsize) { + /* Zero-filled region. Mark as a zero region in the memory map. */ + if (syslinux_add_memmap + (&mmap, addr + dsize, msize - dsize, SMT_ZERO)) { + error("Failed to map PHDR zero region\n"); + return NULL; + } + } + if (addr + msize > mboot_high_water_mark) + mboot_high_water_mark = addr + msize; + } else { + /* Ignore this program header */ + } + + ph64 = (Elf64_Phdr *) ((char *)ph64 + eh64->e_phentsize); + } + + /* Load the ELF symbol table */ + if (eh64->e_shoff) { + addr_t addr, len; + + sh64 = (Elf64_Shdr *) ((cha...
2015 Jan 25
0
Use z size specifier for printf-ing size_t variable
..._t len, size_t align, int flags) > return 0; > } > > - dprintf("Mapping 0x%08x bytes (%#x pad) at 0x%08x\n", len, pad, start); > + dprintf("Mapping 0x%08zx bytes (%#x pad) at 0x%08x\n", len, pad, start); > > if (start + len + pad > mboot_high_water_mark) > mboot_high_water_mark = start + len + pad; > diff --git a/com32/menu/menumain.c b/com32/menu/menumain.c > index b8cb06f..ed72c08 100644 > --- a/com32/menu/menumain.c > +++ b/com32/menu/menumain.c > @@ -230,7 +230,7 @@ static int ask_passwd(const char *menu_entry) >...