comparison 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
comparison
equal deleted inserted replaced
366:39bf68bf1891 367:577ed7fb3fe4
1 module archmem;
2 import io;
3
4 function void init()
5 {
6 // putc(65)
7 io.print2("PFR0 = ", pfr0());
8 io.print2("PFR1 = ", pfr1());
9 io.print2("MMFR0 = ", mmfr0());
10
11 // This below is not compatible with all qemu versions:
12 // io.print2("MPUIR = ", arch.mpuir());
13 }
14
15 function int pfr0();
16 function int pfr1();
17 function int mmfr0();
18 // function int mpuir();
19