PXELINUX: when chaining an NBP, restore *all* registers
authorH. Peter Anvin <hpa@zytor.com>
Sun, 14 Jun 2009 23:01:30 +0000 (16:01 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 14 Jun 2009 23:01:30 +0000 (16:01 -0700)
commitfd4cab20788d3bf35b76f59dc9b3f1c06587b5e8
tree1f2b29e08954a1fb634218be65563fac9e958551
parent18ca4d8cc87761c6a5ab763069fad562fec69b59
PXELINUX: when chaining an NBP, restore *all* registers

On at least ASUS A8N-E, unless *all* registers are restored to pre-PXE
status, localboot doesn't work.  We were clobbering DS, ESI and EDX
when chainloading an NBP, which meant that localboot wouldn't work in
the chainloaded NBP.  Fix this.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/bootsect.inc