Kernel/x86_64 - Fixed misplaced jump
authorJohn Hodge <[email protected]>
Mon, 28 Jan 2013 10:51:34 +0000 (18:51 +0800)
committerJohn Hodge <[email protected]>
Mon, 28 Jan 2013 10:51:34 +0000 (18:51 +0800)
KernelLand/Kernel/arch/x86_64/start32.asm

index ac05971..6519e1c 100644 (file)
@@ -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
 

UCC git Repository :: git.ucc.asn.au