Displaying 2 results from an estimated 2 matches for "load_end_addr".
Did you mean:
load_and_add
2008 Oct 20
0
PATCH[001/001]: mboot.c: prefer ELF header over multiboot header
...ot;Using multiboot header.\n");
-#endif
-
- /* Where is the code in the loaded file? */
- seg_addr = ((char *)mbh) - (mbh->header_addr - mbh->load_addr);
-
- /* How much code is there? */
- run_addr = mbh->load_addr;
- if (mbh->load_end_addr != 0)
- seg_size = mbh->load_end_addr - mbh->load_addr;
- else
- seg_size = load_size - (seg_addr - load_addr);
-
- /* How much memory will it take up? */
- if (mbh->bss_end_addr != 0)
- run_size = mbh->bss_en...
2010 Dec 21
2
[PATCH] chain.c32: support chainloading GRUB2 core.img
Here is a patch that makes it possible to chainload GRUB2 core.img form
chain.c32.
It reuses the grub= parameter (used for chainloading GRUB Legacy stage2):
- both loaded at 0x8000
- start execution at offset 0x200 (0x8200 in memory)
GRUB2 allows to specify another "GRUB home dir" than the standard /boot/grub
GRUB2 doesn't allow to change the configfile 'grub.cfg' name