Mercurial > lcfOS
view kernel/src/kernel.c3 @ 371:9c95f93f5b7a
Python 3.2 compatible issues
author | Windel Bouwman |
---|---|
date | Fri, 21 Mar 2014 12:01:19 +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(); }