diff kernel/kernel.c3 @ 340:c7cc54c0dfdf devel

Test featurebranch
author Windel Bouwman
date Sun, 23 Feb 2014 16:24:01 +0100
parents 2e7f55319858
children 899ae3aea803
line wrap: on
line diff
--- a/kernel/kernel.c3	Fri Feb 21 13:35:07 2014 +0100
+++ b/kernel/kernel.c3	Sun Feb 23 16:24:01 2014 +0100
@@ -8,6 +8,10 @@
 // Main entry point of the kernel:
 function void start()
 {
+   var int* UART0DR;
+   UART0DR = cast<int*>(0x10009000); // UART0 Data register
+   *UART0DR = 72;
+
     process.init();
     //memory:init();
 
@@ -15,6 +19,7 @@
     //Process proc = new process:Process();
 
     //scheduler:queue(proc);
+    while(true) {}
 }