X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Farch%2Fx86_64%2Fstart32.asm;h=6519e1c33d4f3516c36bb2d587a8b8085cafaf2f;hb=d7dcea0e5a8df0f479e99f168a10b9a9535c7ad6;hp=52b133c6ec731636a75a45f5159ec405377dcaf4;hpb=48743e39650eb1ef988380e9d95f27fd40d3a9ce;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/arch/x86_64/start32.asm b/KernelLand/Kernel/arch/x86_64/start32.asm index 52b133c6..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 @@ -183,6 +183,6 @@ gInitialKernelStack: [section .rodata] csNot64BitCapable: - db "Not 64-bit Capable",0 + db "CPU does not support long-mode, please use the x86 build",0 ; vim: ft=nasm