aboutsummaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-23 16:23:56 -0700
committerChristian Cunningham <cc@localhost>2022-01-23 16:23:56 -0700
commit741e7431d013c7fda4a1b8b34bcc2dfa1ecda039 (patch)
tree0301b7de87c34e13b3028e80fbf34bb93c2d58c6 /src/cpu
parent1b005b885a713199106587f3e6d8f53f0ecfdfcd (diff)
Visual view of memory map
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/irq.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/cpu/irq.c b/src/cpu/irq.c
index e195261..7b6ae7e 100644
--- a/src/cpu/irq.c
+++ b/src/cpu/irq.c
@@ -11,6 +11,7 @@
#include <util/status.h>
#include <util/time.h>
+void testfxn(void);
void handle_data(unsigned char);
void c_irq_handler(void)
@@ -115,11 +116,10 @@ void handle_data(unsigned char data)
cmd[off] = (char) data;
off += 1;
release_mutex(&exe_cnt_m, SYS_PID);
- // heap Info
- } else if (data == 0x69) {
+ } else if (data == 0x61) {
cmd[off] = (char) data;
off += 1;
- add_thread(heap_info, 0, 5);
+ add_thread(testfxn, 0, 3);
// Else output
} else {
cmd[off] = (char) data;
@@ -147,3 +147,7 @@ void handle_data(unsigned char data)
write_string(&g_Drawer, "> ");
write_string(&g_Drawer, cmd);
}
+
+void testfxn(void)
+{
+}