Mercurial > lcfOS
comparison 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 |
comparison
equal
deleted
inserted
replaced
358:5ef1cb1bb54f | 359:b4ac28efcdf4 |
---|---|
1 module kernel; | |
2 | |
3 import memory; | |
4 import process; | |
5 import scheduler; | |
6 import arch; | |
7 import io; | |
8 | |
9 // Main entry point of the kernel: | |
10 function void start() | |
11 { | |
12 arch.init(); | |
13 | |
14 io.println("Welcome to lcfos!"); | |
15 | |
16 // io.print_int(0x1337); | |
17 // process.init(); | |
18 //memory:init(); | |
19 | |
20 //Process proc = new process:Process(); | |
21 | |
22 //scheduler:queue(proc); | |
23 while(true) {} | |
24 } | |
25 | |
26 function void panic() | |
27 { | |
28 arch.halt(); | |
29 } | |
30 |