From 79d5bcf81eeeae70745e312ffa4cdb1747ddca61 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 19 Oct 2017 23:00:20 +0100 Subject: [PATCH] crt0: use stosb not zero and mov Z80 programmer escaped into x86 --- Kernel/platform-ibmpc/crt0.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/platform-ibmpc/crt0.S b/Kernel/platform-ibmpc/crt0.S index 3cc219ce..fce2fea9 100644 --- a/Kernel/platform-ibmpc/crt0.S +++ b/Kernel/platform-ibmpc/crt0.S @@ -17,9 +17,9 @@ start: movw $__bss_start+1,%di movw $__end,%cx subw $__bss_start+1,%cx - movb $0,(%si) + xorb %al,%al rep - movsb + stosb call init_early call init_hardware -- 2.34.1