X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Farm7%2Fmain.c;h=b6186bbe54970ee0c0646b3a433f08e19d52c58e;hb=bc55dc5d60469521269a41928d3d15809e2c8134;hp=4520b80ffb5e60c96f577e052a369c52618360b7;hpb=28eafc7611ec3d3f840845ec2b54025affd7bc1e;p=tpg%2Facess2.git diff --git a/Kernel/arch/arm7/main.c b/Kernel/arch/arm7/main.c index 4520b80f..b6186bbe 100644 --- a/Kernel/arch/arm7/main.c +++ b/Kernel/arch/arm7/main.c @@ -9,6 +9,9 @@ // === IMPORTS === extern void Interrupts_Setup(void); extern void Arch_LoadBootModules(void); +extern void Heap_Install(void); +extern void Threads_Init(void); +extern void System_Init(const char *Commandline); // === PROTOTYPES === int kmain(void); @@ -16,12 +19,28 @@ extern void Arch_LoadBootModules(void); // === CODE === int kmain(void) { - LogF("Booting...\n"); + LogF("Acess2 ARMv7 v"EXPAND_STR(KERNEL_VERSION)"\n"); + LogF(" Build %i\n", BUILD_NUM); // Interrupts_Setup(); MM_SetupPhys(); + + LogF("Heap Setup...\n"); + Heap_Install(); + + LogF("Threads Init...\n"); + Threads_Init(); + LogF("VFS Init...\n"); + VFS_Init(); + + // Boot modules? + + // + LogF("Moving to arch-independent init\n"); + System_Init(""); //TODO: + LogF("End of kmain(), for(;;);\n"); for(;;); }