Renamed tpl_drv_* to api_drv_* (a more fitting name)
[tpg/acess2.git] / Kernel / arch / arm7 / main.c
1 /*
2  * Acess2
3  *
4  * ARM7 Entrypoint
5  * arch/arm7/main.c
6  */
7 #include <acess.h>
8
9 // === IMPORTS ===
10 extern void     Interrupts_Setup(void);
11 extern void     Arch_LoadBootModules(void);
12 extern void     Heap_Install(void);
13 extern void     Threads_Init(void);
14
15 // === PROTOTYPES ===
16  int    kmain(void);
17
18 // === CODE ===
19 int kmain(void)
20 {
21         LogF("Acess2 ARMv7 v"EXPAND_STR(KERNEL_VERSION)"\n", BUILD_NUM);
22         LogF(" Build %i\n", BUILD_NUM);
23 //      Interrupts_Setup();
24         
25         MM_SetupPhys();
26
27         Heap_Install();
28
29         Threads_Init();
30         
31         //TODO: 
32         LogF("End of kmain(), for(;;);\n");
33         for(;;);
34 }
35
36 void Arch_LoadBootModules(void)
37 {
38 }
39

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