comparison kernel/arch/vexpressA9.c3 @ 367:577ed7fb3fe4

Try to make thumb work again
author Windel Bouwman
date Fri, 21 Mar 2014 10:27:57 +0100
parents c05ab629976a
children 6df89163e114
comparison
equal deleted inserted replaced
366:39bf68bf1891 367:577ed7fb3fe4
1 module arch; 1 module arch;
2 import io;
2 3
3 4
4 function void init() 5 function void init()
5 { 6 {
6 // putc(65) 7 // putc(65)
7 } 8 }
8
9 function int pfr0();
10 function int pfr1();
11 function int mmfr0();
12 function int mpuir();
13 9
14 function void putc(int c) 10 function void putc(int c)
15 { 11 {
16 var int *UART0DR; 12 var int *UART0DR;
17 UART0DR = cast<int*>(0x10009000); // UART0 DR register 13 UART0DR = cast<int*>(0x10009000); // UART0 DR register