]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[romprefix] Fix incorrect pointer offset in undiloader.S
authorFrediano Ziglio <frediano.ziglio@citrix.com>
Tue, 14 May 2013 13:06:25 +0000 (14:06 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 14 May 2013 13:51:19 +0000 (14:51 +0100)
commit9df238a8aa1c6074f98280d9dfa08c4ea7e1ff86
tree127013a02d081fc4bd8b1d1f077a298ed78cb7f2
parent05d11b7337489d692690e049f15c1d7ada43c722
[romprefix] Fix incorrect pointer offset in undiloader.S

Commit 2422647 ("[prefix] Allow prefix to specify an arbitrary maximum
address for relocation") introduced a regression into the UNDI ROM
loader by preserving an extra register on the stack without modifying
the %sp-relative addresses used in the routine.

Fix by correcting the %sp-relative addresses to allow for the extra
preserved variable.

Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/prefix/undiloader.S