]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
x86: bios: Synchronize stack between real and protected mode
authorJian Luo <jian.luo4@boschrexroth.de>
Mon, 6 Jul 2015 08:42:06 +0000 (16:42 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:25 +0000 (13:29 +0200)
commit4cbba2265dbc46e0c9bf0a9e24ca3960be4c224f
tree9c235480d621f2edfe58c81647098194ab7b9ab5
parent020d2b293046db93c278a8af32d2d5c14ba6289b
x86: bios: Synchronize stack between real and protected mode

PCI option rom may use different SS during its execution, so it is not
safe to assume esp pointed to the same location in the protected mode.

Signed-off-by: Jian Luo <jian.luo4@boschrexroth.de>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/bios_asm.S