mirror of
https://github.com/xcat2/xNBA.git
synced 2026-04-01 11:03:36 +00:00
Solaris assumes that there is enough space above the Multiboot modules to use as a decompression and scratch area. This assumption is invalid when using iPXE, which places the Multiboot modules near the top of (32-bit) memory. Fix by copying the modules to an area of memory immediately following the loaded kernel. Debugged-by: Michael Brown <mcb30@ipxe.org> Debugged-by: Scott McWhirter <scottm@joyent.com> Tested-by: Robin Smidsrød <robin@smidsrod.no> Signed-off-by: Michael Brown <mcb30@ipxe.org>
18 lines
243 B
C
18 lines
243 B
C
#ifndef _IPXE_ELF_H
|
|
#define _IPXE_ELF_H
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* ELF image format
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
#include <elf.h>
|
|
|
|
extern int elf_load ( struct image *image, physaddr_t *entry, physaddr_t *max );
|
|
|
|
#endif /* _IPXE_ELF_H */
|