diff options
| author | Michael Brown | 2012-02-09 17:41:05 +0100 |
|---|---|---|
| committer | Michael Brown | 2012-02-09 17:49:30 +0100 |
| commit | 3a4253868ce0c9c1f6fc7fd0f8a2e06afc19e9bb (patch) | |
| tree | 855c287fe5f92082cbc73ac5644c6db4a73a0fd3 /src/image | |
| parent | [tg3] Fix compilation on newer gcc versions (diff) | |
| download | ipxe-3a4253868ce0c9c1f6fc7fd0f8a2e06afc19e9bb.tar.gz ipxe-3a4253868ce0c9c1f6fc7fd0f8a2e06afc19e9bb.tar.xz ipxe-3a4253868ce0c9c1f6fc7fd0f8a2e06afc19e9bb.zip | |
[prefix] Delay initrd image copy until memory map is ready
initrd_init() calls umalloc() to allocate space for the initrd image,
but does so before hide_etherboot() has been called. It is therefore
possible for the initrd to end up overwriting iPXE itself.
Fix by converting initrd_init() from an init_fn to a startup_fn.
Originally-fixed-by: Till Straumann <strauman@slac.stanford.edu>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/image')
0 files changed, 0 insertions, 0 deletions
