diff options
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; } |