view kernel/kernel.c3 @ 292:534b94b40aa8

Fixup reorganize
author Windel Bouwman
date Wed, 27 Nov 2013 08:06:42 +0100
parents c9781c73e7e2
children 6aa721e7b10b
line wrap: on
line source

module kernel;

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

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


    Process proc = new process.Process();

    scheduler.queue(proc);
}


func panic()
{
    arch.halt();
}