diff options
author | Christian Cunningham <cc@localhost> | 2022-01-11 18:05:00 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-11 18:05:00 -0700 |
commit | 5b3ceca69d5432f976ac487c63a75f8c6275028b (patch) | |
tree | c932890424d8e30ea61a7a406967f8d6e2daf39f /src/cpu/irq.c | |
parent | 516df5812ac64d87ac2e32ebf0211534ea0abaa7 (diff) |
Memory freeing is optimized
Fixed Uart Bug temporarily
Diffstat (limited to 'src/cpu/irq.c')
-rw-r--r-- | src/cpu/irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/irq.c b/src/cpu/irq.c index aa7c375..c0fd367 100644 --- a/src/cpu/irq.c +++ b/src/cpu/irq.c @@ -30,7 +30,7 @@ void c_irq_handler(void) write_string(&g_Drawer, "TIMER: "); if(timer_status == 0) { cntfrq = read_cntfrq(); - write_cntv_tval(cntfrq); + write_cntv_tval(cntfrq/CPS); enablecntv(); write_cstring(&g_Drawer, "Enabled ", 0x00FF00); } else { @@ -67,6 +67,7 @@ void c_irq_handler(void) } else if (data == 0x61) { cmd[off] = (char) data; off += 1; + heap_info_u(); // Else output } else { cmd[off] = (char) data; |