mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 02:28:57 +03:00
[multiboot] Place multiboot modules low in memory
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>
This commit is contained in:
@@ -12,6 +12,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
#include <elf.h>
|
||||
|
||||
extern int elf_load ( struct image *image, physaddr_t *entry );
|
||||
extern int elf_load ( struct image *image, physaddr_t *entry, physaddr_t *max );
|
||||
|
||||
#endif /* _IPXE_ELF_H */
|
||||
|
||||
Reference in New Issue
Block a user