view kernel/kernel.c3 @ 295:917eab04b8b7

Added disasm
author Windel Bouwman
date Thu, 28 Nov 2013 21:10:32 +0100
parents 6aa721e7b10b
children 9417caea2eb3
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();
}