diff options
author | Christian Cunningham <cc@localhost> | 2022-01-03 20:10:10 -0800 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-03 20:10:10 -0800 |
commit | 1b180d2f15e9b726e6e9dde5601f41fa48c1c044 (patch) | |
tree | 837de56031b3c26b62e8773d2bc671b38da12e53 /src/cpu | |
parent | 3448a072fab683b97c93922b2d150e530a22b5a3 (diff) |
Ensured Aligned Mutexes
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) +{ +} |