Mercurial > lcfOS
view kernel/arch/qemu_vexpress/archmem.c3 @ 367:577ed7fb3fe4
Try to make thumb work again
author | Windel Bouwman |
---|---|
date | Fri, 21 Mar 2014 10:27:57 +0100 |
parents | |
children | 6df89163e114 |
line wrap: on
line source
module archmem; import io; function void init() { // putc(65) io.print2("PFR0 = ", pfr0()); io.print2("PFR1 = ", pfr1()); io.print2("MMFR0 = ", mmfr0()); // This below is not compatible with all qemu versions: // io.print2("MPUIR = ", arch.mpuir()); } function int pfr0(); function int pfr1(); function int mmfr0(); // function int mpuir();