Mercurial > lcfOS
annotate kernel/kernel.c3 @ 327:61c9df5bffce
Changed emulated board to cortex a8 board
author | Windel Bouwman |
---|---|
date | Sat, 01 Feb 2014 17:21:21 +0100 |
parents | 2e7f55319858 |
children | c7cc54c0dfdf |
rev | line source |
---|---|
283 | 1 module kernel; |
292 | 2 |
283 | 3 import memory; |
4 import process; | |
292 | 5 import scheduler; |
6 import arch; | |
283 | 7 |
8 // Main entry point of the kernel: | |
293 | 9 function void start() |
283 | 10 { |
308 | 11 process.init(); |
301 | 12 //memory:init(); |
292 | 13 |
14 | |
296 | 15 //Process proc = new process:Process(); |
292 | 16 |
296 | 17 //scheduler:queue(proc); |
283 | 18 } |
19 | |
20 | |
293 | 21 function void panic() |
283 | 22 { |
308 | 23 arch.halt(); |
283 | 24 } |
25 |