diff options
| author | Michael Brown | 2012-04-15 02:35:39 +0200 |
|---|---|---|
| committer | Michael Brown | 2012-04-19 14:13:32 +0200 |
| commit | 62eb2294f002f16af0af9e4f623dd03c67e8cf4a (patch) | |
| tree | d53ad830ef26e029d01cf452e00851fce6417d8a /src/include | |
| parent | [realtek] Replace driver for Realtek Gigabit NICs (diff) | |
| download | ipxe-62eb2294f002f16af0af9e4f623dd03c67e8cf4a.tar.gz ipxe-62eb2294f002f16af0af9e4f623dd03c67e8cf4a.tar.xz ipxe-62eb2294f002f16af0af9e4f623dd03c67e8cf4a.zip | |
[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')
| -rw-r--r-- | src/include/ipxe/elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <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 */ |
