]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit781e25d3c802e2cb63b73c8b529cc133da829db1
tree532ec12d24a1c7c17d3250ccdb2b66ddc8804cff
parentef77a7cc4350b4abdbed6dae51db3ae4be5e38d5
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