Kernel - (minor) Debug changes in x86_64
authorJohn Hodge <[email protected]>
Wed, 1 Aug 2012 01:18:02 +0000 (09:18 +0800)
committerJohn Hodge <[email protected]>
Wed, 1 Aug 2012 01:18:02 +0000 (09:18 +0800)
KernelLand/Kernel/arch/x86_64/main.c
KernelLand/Kernel/arch/x86_64/start32.asm

index 4fb6670..cefeeb4 100644 (file)
@@ -5,6 +5,9 @@
 #include <mboot.h>
 #include <init.h>
 
+// === CONSTANTS ===
+#define MAX_PMEMMAP_ENTS       16
+
 // === IMPORTS ===
 extern void    Desctab_Init(void);
 extern void    MM_InitVirt(void);
@@ -24,8 +27,7 @@ void kmain(Uint MbMagic, void *MbInfoPtr)
 {
        tMBoot_Info     *mbInfo;
 
-       LogF("Acess2 x86_64 v"EXPAND_STR(KERNEL_VERSION)"\n");
-       LogF(" Build %i, Git Hash %s\n", BUILD_NUM, gsGitHash);
+       LogF("%s\r\n", gsBuildInfo);
        
        Desctab_Init();
 
index 52b133c..ac05971 100644 (file)
@@ -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

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