summaryrefslogtreecommitdiffstats
path: root/src/cpu/qemu-x86
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2020-07-02 08:08:37 +0200
committerPatrick Rudolph <siro@das-labor.org>2020-08-14 17:56:44 +0000
commit98c987a65a4ddacba5851ef7298efc7159b5f62e (patch)
treecd28bb945f04b72747981b63851e917e9087e83c /src/cpu/qemu-x86
parent8daa12f7e0ceca9ebf4c5e91a590a896e7f4413c (diff)
downloadcoreboot-98c987a65a4ddacba5851ef7298efc7159b5f62e.tar.gz
coreboot-98c987a65a4ddacba5851ef7298efc7159b5f62e.tar.bz2
coreboot-98c987a65a4ddacba5851ef7298efc7159b5f62e.zip
cpu/qemu-x86: Fix timestamp and bist reporting
Change-Id: Id66a7f6767735862e138c58c4bcc9e68215dd3c5 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43002 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/cpu/qemu-x86')
-rw-r--r--src/cpu/qemu-x86/cache_as_ram_bootblock.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cpu/qemu-x86/cache_as_ram_bootblock.S b/src/cpu/qemu-x86/cache_as_ram_bootblock.S
index 30f9f9ceb247..415ed247dfd3 100644
--- a/src/cpu/qemu-x86/cache_as_ram_bootblock.S
+++ b/src/cpu/qemu-x86/cache_as_ram_bootblock.S
@@ -29,11 +29,12 @@ cache_as_ram:
/* Restore the BIST result and timestamps. */
#if defined(__x86_64__)
- movd %mm1, %rdi
+ movd %mm2, %rdi
shld %rdi, 32
movd %mm1, %rsi
or %rsi, %rdi
- movd %mm2, %rsi
+
+ movd %mm0, %rsi
#else
sub $4, %esp