diff options
author | Christian Cunningham <cc@localhost> | 2022-02-04 23:55:05 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-02-04 23:55:05 -0700 |
commit | e3eb5a92ae3991cdfbb5a5cf553eac476bc5822f (patch) | |
tree | b6f8b98b8e9b970dc08c218c07b1351b0eaf2944 /src/sys | |
parent | 1b14e08247393af5f4e8f2a3c31406ce750ca2f0 (diff) |
Removed old mem
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/core.c | 2 | ||||
-rw-r--r-- | src/sys/schedule.c | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/sys/core.c b/src/sys/core.c index a42b581..65ee526 100644 --- a/src/sys/core.c +++ b/src/sys/core.c @@ -5,7 +5,6 @@ #include <graphics/drawer.h> #include <graphics/lfb.h> #include <lib/kmem.h> -#include <lib/mem.h> #include <lib/strings.h> #include <symbols.h> #include <sys/core.h> @@ -21,7 +20,6 @@ void sysinit(void) // Initialize System Globals exe_cnt_m.addr = &exe_cnt; exe_cnt_m.pid = NULL_PID; - rpi_heap_top = &rpi_heap; stimeh = *(unsigned long*)SYS_TIMER_CHI; stimel = *(unsigned long*)SYS_TIMER_CLO; *(unsigned long*) SYS_TIMER_C0 = 60000000 + stimeh; // 60 second trigger diff --git a/src/sys/schedule.c b/src/sys/schedule.c index acd6098..7bc86c3 100644 --- a/src/sys/schedule.c +++ b/src/sys/schedule.c @@ -110,7 +110,7 @@ void uart_scheduler(void) uart_string("Scheduler Info\n==============\nCurrent\n"); uart_hex((unsigned long)scheduler.rthread); uart_char(' '); - memshow32((void*)scheduler.rthread, 6); + //memshow32((void*)scheduler.rthread, 6); struct ThreadQueues* tq; for(int p = 0; p < PRIORITIES; p++) { uart_string("Priority "); @@ -131,8 +131,7 @@ void uart_scheduler(void) while (roffset != trb->woffset) { uart_hex((unsigned long)trb->queue[roffset]); uart_char(' '); - memshow32((void*)trb->queue[roffset], 6); - //memshow32((void*)trb->queue[roffset]->sp, 14); + //memshow32((void*)trb->queue[roffset], 6); roffset++; roffset %= TQUEUE_MAX; } |