From 6613b13c1c919cfbba4c34b5470cc4598181414d Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Mon, 7 Mar 2011 20:04:44 +0100 Subject: [PATCH] cosmetic changes --- arch/x86/kernel/string.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/string.asm b/arch/x86/kernel/string.asm index 62f0d853..27707b09 100644 --- a/arch/x86/kernel/string.asm +++ b/arch/x86/kernel/string.asm @@ -79,13 +79,13 @@ copy_page_physical: mov edx, 1024 ; 1024*4bytes = 4096 bytes -.loop: +L4: mov eax, [ebx] ; Get the word at the source address mov [ecx], eax ; Store it at the dest address add ebx, 4 ; Source address += sizeof(word) add ecx, 4 ; Dest address += sizeof(word) dec edx ; One less word to do - jnz .loop + jnz L4 mov edx, cr0 ; Get the control register again or edx, 0x80000000 ; and...