diff options
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/core.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sys/core.c b/src/sys/core.c index d15c686..9d67645 100644 --- a/src/sys/core.c +++ b/src/sys/core.c @@ -121,6 +121,14 @@ void output_irq_status(void) { unsigned long f_val = load32(FIQ_CONTROL); uart_string("\033[5;1H"); + // Check GPU Interrupt Routing + unsigned long g_val = load32(GPU_INTERRUPTS_ROUTING); + uart_string((char*)"GPU IRQ: Core "); + uart_char(0x30 + (g_val & 0x3)); + uart_string((char*)" | GPU FIQ: Core "); + uart_char(0x30 + ((g_val>>2) & 0x3)); + + uart_string("\033[6;1H"); // Check UART IRQ uart_string((char*)"UART:"); if (i2_val & (1<<25)) { @@ -142,14 +150,6 @@ void output_irq_status(void) { uart_string(irq_off); } - uart_string("\033[6;1H"); - // Check GPU Interrupt Routing - unsigned long g_val = load32(GPU_INTERRUPTS_ROUTING); - uart_string((char*)"GPU IRQ: Core "); - uart_char(0x30 + (g_val & 0x3)); - uart_string((char*)" | GPU FIQ: Core "); - uart_char(0x30 + ((g_val>>2) & 0x3)); - uart_string("\033[7;1H"); uart_hex(ib_val); uart_char(0x20); |