aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Common.mk2
-rw-r--r--include/sys/schedule.h2
-rw-r--r--src/sys/schedule.c1
3 files changed, 2 insertions, 3 deletions
diff --git a/Common.mk b/Common.mk
index 4c2b878..450e870 100644
--- a/Common.mk
+++ b/Common.mk
@@ -15,7 +15,7 @@ QEMU = qemu-system-arm
GDB = gdb-multiarch
CFLAGS = -mcpu=cortex-a7 -fpic -ffreestanding -std=gnu99 -O3 -Wall -Wextra -nostdlib -Iinclude -g
AFLAGS = -mcpu=cortex-a7 -Iinclude -g
-QFLAGS = -M raspi2 -cpu arm1176 -m 1G
+QFLAGS = -M raspi2b -cpu cortex-a7 -m 1G
QFLAGS += -chardev stdio,id=char0,mux=on,logfile=serial.log,signal=off -serial chardev:char0 -mon chardev=char0
#QFLAGS += -serial pipe:/tmp/guest
QFLAGS += -device usb-kbd
diff --git a/include/sys/schedule.h b/include/sys/schedule.h
index a76b52b..aa0e4c3 100644
--- a/include/sys/schedule.h
+++ b/include/sys/schedule.h
@@ -4,7 +4,7 @@
#define TQUEUE_MAX 0x100
#define STACK_SIZE 0x4000
#define TQUEUE_CNT 4
-#define PRIORITIES 6
+#define PRIORITIES 8
#define MAX_THREADS TQUEUE_MAX*PRIORITIES*TQUEUE_CNT
#define STACK_DRAW_YOFF 320
#define STACK_DRAW_WIDTH 32
diff --git a/src/sys/schedule.c b/src/sys/schedule.c
index 3374f7e..dd59891 100644
--- a/src/sys/schedule.c
+++ b/src/sys/schedule.c
@@ -139,7 +139,6 @@ void uart_scheduler(void)
while (roffset != trb->woffset) {
uart_hex((unsigned long)trb->queue[roffset]);
uart_char(' ');
- //kmemshow((void*)trb->queue[roffset], 4*6);
kmemshow32((void*)trb->queue[roffset], 7);
roffset++;
roffset %= TQUEUE_MAX;