aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-04-15 01:35:39 +0100
committerMichael Brown <mcb30@ipxe.org>2012-04-19 13:13:32 +0100
commit62eb2294f002f16af0af9e4f623dd03c67e8cf4a (patch)
treed53ad830ef26e029d01cf452e00851fce6417d8a /src/include/ipxe
parent2a0154db5b9a7d60aa363d48d441bf1bfe4ca7ad (diff)
downloadipxe-62eb2294f002f16af0af9e4f623dd03c67e8cf4a.zip
ipxe-62eb2294f002f16af0af9e4f623dd03c67e8cf4a.tar.gz
ipxe-62eb2294f002f16af0af9e4f623dd03c67e8cf4a.tar.bz2
[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>
Diffstat (limited to 'src/include/ipxe')
-rw-r--r--src/include/ipxe/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ipxe/elf.h b/src/include/ipxe/elf.h
index e5fed2f..ec675c0 100644
--- a/src/include/ipxe/elf.h
+++ b/src/include/ipxe/elf.h
@@ -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 */