view kernel/src/kernel.c3 @ 367:577ed7fb3fe4

Try to make thumb work again
author Windel Bouwman
date Fri, 21 Mar 2014 10:27:57 +0100
parents 98ff43cfdd36
children 6df89163e114
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()
{
    arch.init();

    io.println("Welcome to lcfos!");

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

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

    //scheduler:queue(proc);
    while(true) {}
}

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