Working on 64-bit IDT
[tpg/acess2.git] / Kernel / arch / x86_64 / main.c
index 60d5cf0..6a1520a 100644 (file)
@@ -3,12 +3,24 @@
  */
 #include <acess.h>
 
+// === IMPORTS ===
+extern void    Desctab_Init(void);
+extern void    MM_InitVirt(void);
+
+// === PROTOTYPES ===
+
 // === GLOBALS ==
 
 // === CODE ===
 void kmain(Uint MbMagic, void *MbInfoPtr)
 {
+       *(Uint16*)(0xB8000) = 0x1F00|'A';
+       
+       Desctab_Init();
+       MM_InitVirt();
        
+       for(;;)
+               __asm__ __volatile__ ("hlt");
 }
 
 void Arch_LoadBootModules(void)

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