]> git.sur5r.net Git - u-boot/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)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:18 +0000 (18:03 -0600)
commit7b5c3498901712dbd6503bf81c03bb6ea8e3b516
treec7024dbf67f06786b3010a1ffae0be738e689fad
parentb018a8c71602d53d5d5ebac859f33327b97e9cec
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