view kernel/src/kernel.c3 @ 381:6df89163e114

Fix section and ldr pseudo instruction
author Windel Bouwman
date Sat, 26 Apr 2014 17:41:56 +0200
parents 577ed7fb3fe4
children 6ae782a085e0
line wrap: on
line source

module kernel;

import memory;
import process;
import scheduler;
import arch;
import io;


// Main entry point of the kernel:
function void start()
{
    io.println("Welcome to lcfos!");
    arch.init();


    // process.init();
    memory.init();

    //Process proc = new process:Process();

    //scheduler:queue(proc);
    io.println("Kernel finished");
    arch.halt();
}

// Called in total stress:
function void panic()
{
    arch.halt();
}