diff options
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/irq.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cpu/irq.c b/src/cpu/irq.c index 874e764..dbd4c10 100644 --- a/src/cpu/irq.c +++ b/src/cpu/irq.c @@ -4,11 +4,14 @@ #include "../sys/core.h" #include "../sys/timer.h" #include "../util/mutex.h" +#include "../util/status.h" #include "../util/time.h" extern unsigned long cmdidx; extern char cmd[2048]; +void localtest(void); + void c_irq_handler(void) { disableirq(); @@ -61,6 +64,10 @@ void c_irq_handler(void) cmd[off] = (char) data; off += 1; release_mutex(&exe_cnt_m, SYS_PID); + // New Task Case + } else if (data == 0x61) { + cmd[off] = (char) data; + off += 1; // Else output } else { cmd[off] = (char) data; @@ -99,3 +106,7 @@ void c_irq_handler(void) } return; } + +void localtest(void) +{ +} |