comparison kernel/kernel.c3 @ 293:6aa721e7b10b

Try to improve build sequence
author Windel Bouwman
date Thu, 28 Nov 2013 20:39:37 +0100
parents 534b94b40aa8
children 917eab04b8b7
comparison
equal deleted inserted replaced
292:534b94b40aa8 293:6aa721e7b10b
4 import process; 4 import process;
5 import scheduler; 5 import scheduler;
6 import arch; 6 import arch;
7 7
8 // Main entry point of the kernel: 8 // Main entry point of the kernel:
9 func start() 9 function void start()
10 { 10 {
11 process.Init(); 11 process.Init();
12 memory.Init(); 12 memory.Init();
13 13
14 14
16 16
17 scheduler.queue(proc); 17 scheduler.queue(proc);
18 } 18 }
19 19
20 20
21 func panic() 21 function void panic()
22 { 22 {
23 arch.halt(); 23 arch.halt();
24 } 24 }
25 25