aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-22 01:24:15 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-22 01:24:15 +0100
commit59d609a0d9e01ad79eee1225d72e304340990675 (patch)
treed223169e1f57a8484aac7707c589882b05a0bfa9
parent8fcabe224198a5c9697fb9a48cc966a50ccedbda (diff)
downloadgnumach-59d609a0d9e01ad79eee1225d72e304340990675.tar.gz
gnumach-59d609a0d9e01ad79eee1225d72e304340990675.tar.bz2
gnumach-59d609a0d9e01ad79eee1225d72e304340990675.zip
cpuboot: Make sure we copy forward
-rw-r--r--i386/i386/cpuboot.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S
index 76ed907d..b9b6d632 100644
--- a/i386/i386/cpuboot.S
+++ b/i386/i386/cpuboot.S
@@ -179,6 +179,7 @@ apboot_jmp_offset:
movl $((GDT_DESCR_M32 + GDT_TABLE_M32) * 4), %eax
mul %ebp
addl %eax, %edi
+ cld
rep movsl
/* Access per_cpu area */