summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/tg3
diff options
context:
space:
mode:
authorMichael Brown2012-02-09 17:41:05 +0100
committerMichael Brown2012-02-09 17:49:30 +0100
commit3a4253868ce0c9c1f6fc7fd0f8a2e06afc19e9bb (patch)
tree855c287fe5f92082cbc73ac5644c6db4a73a0fd3 /src/drivers/net/tg3
parent[tg3] Fix compilation on newer gcc versions (diff)
downloadipxe-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/drivers/net/tg3')
0 files changed, 0 insertions, 0 deletions