From c83a37c4759a2cac454bc294057181790626b9e3 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Mon, 28 Jan 2013 18:51:34 +0800 Subject: [PATCH] Kernel/x86_64 - Fixed misplaced jump --- KernelLand/Kernel/arch/x86_64/start32.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KernelLand/Kernel/arch/x86_64/start32.asm b/KernelLand/Kernel/arch/x86_64/start32.asm index ac059711..6519e1c3 100644 --- a/KernelLand/Kernel/arch/x86_64/start32.asm +++ b/KernelLand/Kernel/arch/x86_64/start32.asm @@ -45,9 +45,9 @@ start: mov eax, 0x80000000 cpuid cmp eax, 0x80000001 ; Compare the A-register with 0x80000001. + jb .not64bitCapable mov eax, 0x80000001 cpuid - jb .not64bitCapable test edx, 1<<29 jz .not64bitCapable -- 2.20.1