]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Correct get_sp() implementation for 64-bit
authorSimon Glass <sjg@chromium.org>
Sun, 16 Jul 2023 03:38:43 +0000 (21:38 -0600)
committerBin Meng <bmeng@tinylab.org>
Mon, 17 Jul 2023 09:08:44 +0000 (17:08 +0800)
commit67884002f48ecf9e39f9402bc3866c8674ada563
treebd1d4d112a1e9a56fa67387a3a16ab1971d4167a
parent633af11dd65cde0c198f8548585d6610cf4d0655
x86: Correct get_sp() implementation for 64-bit

Use an assembler implementation as is done for i386, so that the results
are equivalent for i386 and x86_64.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/bootm.c