From 8642c149c9054ed1f1157686168684f0356a89d3 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Sat, 4 Dec 2021 19:25:09 -0700 Subject: Swapped rows --- src/sys/core.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/sys') 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); -- cgit v1.2.1