search for: place_kernel_section

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

2008 Oct 20
0
PATCH[001/001]: mboot.c: prefer ELF header over multiboot header
...if (seg_addr + seg_size > load_addr + load_size) { - printf("Fatal: multiboot load segment runs off the " - "end of the file.\n"); - exit(1); - } - - /* Does it fit where it wants to be? */ - place_kernel_section(run_addr, run_size); - - /* Put it on the relocation list */ - if (seg_size < run_size) { - /* Set up the kernel BSS too */ - if (seg_size > 0) - add_section(run_addr, seg_addr, seg_size); - bss_size = run_s...
2009 Apr 03
0
PATCH: Handle virtual entry point in mboot.c32
..._entry < (phdr[i].p_vaddr + run_size)) + ) { + realEntry = (ehdr->e_entry + phdr[i].p_paddr) - phdr[i].p_vaddr; + } + /* Place the segment where it wants to be */ run_addr = phdr[i].p_paddr; place_kernel_section(run_addr, run_size); @@ -753,7 +771,7 @@ static size_t load_kernel(struct multibo } /* Done! */ - return ehdr->e_entry; + return realEntry; } }
2006 Jan 14
3
Patch to add Symbols/segments loader for mboot.c
Hello, I use Tim's mboot.c32 to load multiboot kernels over pxelinux. However, some kernels require the symbol table and other information in the ELF section header table to be able to load properly. This functionality is not present in mboot.c now, so I added support for it. The patch is attached. It would be great if you can push this into the next release of syslinux so ELF multiboot