diff kernel/arch/vexpressA9.c3 @ 352:899ae3aea803

First kernel run for vexpressA9
author Windel Bouwman
date Sun, 09 Mar 2014 11:55:55 +0100
parents
children b8ad45b3a573
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/kernel/arch/vexpressA9.c3	Sun Mar 09 11:55:55 2014 +0100
@@ -0,0 +1,13 @@
+module arch;
+
+function void init()
+{
+    var int *UART0DR;
+    UART0DR = cast<int*>(0x10009000); // UART0 DR register
+    *UART0DR = 0x65;
+}
+
+function void halt()
+{
+}
+