diff options
author | Christian Cunningham <cc@localhost> | 2022-03-18 14:39:53 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-18 14:39:53 -0700 |
commit | 23034623f5f4ed6fb89794a43b309dc06aa25e5f (patch) | |
tree | 2ec3e5fcdfe0fe0262f17575bd5300964fb1eb2f /src/cpu/irq.c | |
parent | 3068d3d536ef4b1887f67f14ef853ef967504730 (diff) |
Fixed free queue not initializing properly
Diffstat (limited to 'src/cpu/irq.c')
-rw-r--r-- | src/cpu/irq.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cpu/irq.c b/src/cpu/irq.c index 6a5b43f..b2d9a71 100644 --- a/src/cpu/irq.c +++ b/src/cpu/irq.c @@ -31,8 +31,11 @@ void c_irq_handler(void) } // Handle the recieved data + // Ctrl+G to output scheduler debug info + if (data == 0x7) + uart_scheduler(); // Ctrl+T to toggle timer - if(data == 0x14) { + else if(data == 0x14) { unsigned long timer_status; asm volatile("mrc p15, 0, %0, c14, c3, 1" : "=r"(timer_status)); if(timer_status == 0) { |