Mercurial > lcfOS
diff kernel/arch/vexpressA9.c3 @ 381:6df89163e114
Fix section and ldr pseudo instruction
author | Windel Bouwman |
---|---|
date | Sat, 26 Apr 2014 17:41:56 +0200 |
parents | 577ed7fb3fe4 |
children | e07c2a9abac1 |
line wrap: on
line diff
--- a/kernel/arch/vexpressA9.c3 Fri Apr 18 13:08:45 2014 +0200 +++ b/kernel/arch/vexpressA9.c3 Sat Apr 26 17:41:56 2014 +0200 @@ -5,6 +5,12 @@ 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 void putc(int c) @@ -16,5 +22,11 @@ function void halt() { + while(true) {} } +function int pfr0(); +function int pfr1(); +function int mmfr0(); +// function int mpuir(); +