Mercurial > lcfOS
view kernel/src/kernel.c3 @ 359:b4ac28efcdf4
Reorganize files
author | Windel Bouwman |
---|---|
date | Fri, 14 Mar 2014 15:41:55 +0100 |
parents | kernel/kernel.c3@818be710e13d |
children | 42343d189e14 |
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!"); // io.print_int(0x1337); // process.init(); //memory:init(); //Process proc = new process:Process(); //scheduler:queue(proc); while(true) {} } function void panic() { arch.halt(); }