view kernel/kernel.c3 @ 294:e89cca5779b0

Merge
author Windel Bouwman
date Thu, 28 Nov 2013 20:39:56 +0100
parents 6aa721e7b10b
children 917eab04b8b7
line wrap: on
line source

module kernel;

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

// Main entry point of the kernel:
function void start()
{
    process.Init();
    memory.Init();


    Process proc = new process.Process();

    scheduler.queue(proc);
}


function void panic()
{
    arch.halt();
}