Mercurial > lcfOS
view kernel/arch/vexpressA9.c3 @ 362:c05ab629976a
Added CPUID for arm
author | Windel Bouwman |
---|---|
date | Sat, 15 Mar 2014 10:56:34 +0100 |
parents | 5477e499b039 |
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() { }