Mercurial > lcfOS
comparison kernel/arch/qemu_vexpress/archmem.c3 @ 381:6df89163e114
Fix section and ldr pseudo instruction
author | Windel Bouwman |
---|---|
date | Sat, 26 Apr 2014 17:41:56 +0200 |
parents | 577ed7fb3fe4 |
children |
comparison
equal
deleted
inserted
replaced
380:67a584582aee | 381:6df89163e114 |
---|---|
1 module archmem; | 1 module archmem; |
2 import io; | 2 import io; |
3 | 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 | 4 |
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 |