x86, setup: preemptively save/restore edi and ebp around INT 15 E820
authorH. Peter Anvin <hpa@zytor.com>
Sat, 28 Mar 2009 20:53:26 +0000 (13:53 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 29 Mar 2009 01:18:20 +0000 (18:18 -0700)
commit32ec7fd08b597586774b92ac1cd2678021ccac1b
tree532ec12d24a1c7c17d3250ccdb2b66ddc8804cff
parent01522df346f846906eaf6ca57148641476209909
x86, setup: preemptively save/restore edi and ebp around INT 15 E820

Impact: BIOS bugproofing

Since there are BIOSes known to clobber %ebx and %esi for INT 15 E820,
assume there is something out there clobbering %edi and/or %ebp too,
and don't wait for it to fail.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/boot/memory.c