From 482f99327fd5f457734ac5df618da7f2dc5e51d1 Mon Sep 17 00:00:00 2001 From: marcan Date: Fri, 6 Mar 2009 05:28:43 +0100 Subject: [PATCH] Add IOSFlags display --- main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.c b/main.c index 35224e8..f2b2306 100644 --- a/main.c +++ b/main.c @@ -159,6 +159,11 @@ void *_main(void *base) gecko_puts("Configuring caches and MMU...\n"); mem_initialize(); + gecko_printf("IOSflags: %08x %08x %08x\n", + read32(0xffffff00), read32(0xffffff04), read32(0xffffff08)); + gecko_printf(" %08x %08x %08x\n", + read32(0xffffff0c), read32(0xffffff10), read32(0xffffff14)); + irq_initialize(); irq_enable(IRQ_TIMER); irq_enable(IRQ_GPIO1B);