From: John Hodge Date: Mon, 28 Jan 2013 10:51:34 +0000 (+0800) Subject: Kernel/x86_64 - Fixed misplaced jump X-Git-Tag: rel0.15~597^2~4 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c83a37c4759a2cac454bc294057181790626b9e3;p=tpg%2Facess2.git Kernel/x86_64 - Fixed misplaced jump --- 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