Mercurial > lcfOS
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kernel/src/kernel.c3 Fri Mar 14 15:41:55 2014 +0100 @@ -0,0 +1,30 @@ +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(); +} +