Working on 64-bit IDT
[tpg/acess2.git] / Kernel / arch / x86_64 / main.c
1 /*
2  * Acess2 x86_64 Project
3  */
4 #include <acess.h>
5
6 // === IMPORTS ===
7 extern void     Desctab_Init(void);
8 extern void     MM_InitVirt(void);
9
10 // === PROTOTYPES ===
11
12 // === GLOBALS ==
13
14 // === CODE ===
15 void kmain(Uint MbMagic, void *MbInfoPtr)
16 {
17         *(Uint16*)(0xB8000) = 0x1F00|'A';
18         
19         Desctab_Init();
20         MM_InitVirt();
21         
22         for(;;)
23                 __asm__ __volatile__ ("hlt");
24 }
25
26 void Arch_LoadBootModules(void)
27 {
28         
29 }
30
31 void StartupPrint(char *String)
32 {
33         
34 }

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