Mercurial > lcfOS
view kernel/src/kernel.c3 @ 391:a139da1f44f6
Merge
author | Windel Bouwman |
---|---|
date | Fri, 16 May 2014 12:30:10 +0200 |
parents | 6df89163e114 |
children | 6ae782a085e0 |
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() { io.println("Welcome to lcfos!"); arch.init(); // process.init(); memory.init(); //Process proc = new process:Process(); //scheduler:queue(proc); io.println("Kernel finished"); arch.halt(); } // Called in total stress: function void panic() { arch.halt(); }