From 62eb2294f002f16af0af9e4f623dd03c67e8cf4a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 15 Apr 2012 01:35:39 +0100 Subject: [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 Debugged-by: Scott McWhirter Tested-by: Robin Smidsrød Signed-off-by: Michael Brown --- src/include/ipxe/elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/ipxe/elf.h b/src/include/ipxe/elf.h index e5fed2f89..ec675c047 100644 --- a/src/include/ipxe/elf.h +++ b/src/include/ipxe/elf.h @@ -12,6 +12,6 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include -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 */ -- cgit v1.2.3-55-g7522