view kernel/src/kernel.c3 @ 372:68841f9ab96c

Added yet another test snippet
author Windel Bouwman
date Fri, 21 Mar 2014 12:33:30 +0100
parents 577ed7fb3fe4
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();
}