Mercurial > lcfOS
view kernel/arch/vexpressA9.c3 @ 364:c49459768aaa
Work on globals
author | Windel Bouwman |
---|---|
date | Wed, 19 Mar 2014 20:24:03 +0100 |
parents | c05ab629976a |
children | 577ed7fb3fe4 |
line wrap: on
line source
module arch; function void init() { // putc(65) } function int pfr0(); function int pfr1(); function int mmfr0(); function int mpuir(); function void putc(int c) { var int *UART0DR; UART0DR = cast<int*>(0x10009000); // UART0 DR register *UART0DR = c; } function void halt() { }