comparison kernel/kernel.c3 @ 352:899ae3aea803

First kernel run for vexpressA9
author Windel Bouwman
date Sun, 09 Mar 2014 11:55:55 +0100
parents c7cc54c0dfdf
children b8ad45b3a573
comparison
equal deleted inserted replaced
351:62803b073d11 352:899ae3aea803
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; 11 arch.init()
12 UART0DR = cast<int*>(0x10009000); // UART0 Data register
13 *UART0DR = 72;
14 12
15 process.init(); 13 process.init();
16 //memory:init(); 14 //memory:init();
17 15
18 16