aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2021-12-04 19:25:09 -0700
committerChristian Cunningham <cc@localhost>2021-12-04 19:25:09 -0700
commit8642c149c9054ed1f1157686168684f0356a89d3 (patch)
tree1399e1c9d17ad3683e3128df41752e65cce5ea39
parente842c512179d3f34731ce78e3a906c5fec162e07 (diff)
Swapped rows
-rw-r--r--src/sys/core.c16
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);