mirror of
https://github.com/fail0verflow/mini.git
synced 2024-12-01 07:34:20 +01:00
Add IOSFlags display
This commit is contained in:
parent
9ad13f0a62
commit
482f99327f
5
main.c
5
main.c
@ -159,6 +159,11 @@ void *_main(void *base)
|
|||||||
gecko_puts("Configuring caches and MMU...\n");
|
gecko_puts("Configuring caches and MMU...\n");
|
||||||
mem_initialize();
|
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_initialize();
|
||||||
irq_enable(IRQ_TIMER);
|
irq_enable(IRQ_TIMER);
|
||||||
irq_enable(IRQ_GPIO1B);
|
irq_enable(IRQ_GPIO1B);
|
||||||
|
Loading…
Reference in New Issue
Block a user