comparison kernel/kernel.c3 @ 340:c7cc54c0dfdf devel

Test featurebranch
author Windel Bouwman
date Sun, 23 Feb 2014 16:24:01 +0100
parents 2e7f55319858
children 899ae3aea803
comparison
equal deleted inserted replaced
339:6ee17c4dd6b8 340:c7cc54c0dfdf
6 import arch; 6 import arch;
7 7
8 // Main entry point of the kernel: 8 // Main entry point of the kernel:
9 function void start() 9 function void start()
10 { 10 {
11 var int* UART0DR;
12 UART0DR = cast<int*>(0x10009000); // UART0 Data register
13 *UART0DR = 72;
14
11 process.init(); 15 process.init();
12 //memory:init(); 16 //memory:init();
13 17
14 18
15 //Process proc = new process:Process(); 19 //Process proc = new process:Process();
16 20
17 //scheduler:queue(proc); 21 //scheduler:queue(proc);
22 while(true) {}
18 } 23 }
19 24
20 25
21 function void panic() 26 function void panic()
22 { 27 {