From 1b89e2cc55cd8d26923d45c7cccf5a0a651ed4c4 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 8 Oct 2011 18:50:58 +0800 Subject: [PATCH] Misc changes --- Kernel/threads.c | 3 +++ Makefile.armv7.cfg | 2 ++ Makefile.cfg | 1 + RunQemuArm | 4 ++++ 4 files changed, 10 insertions(+) diff --git a/Kernel/threads.c b/Kernel/threads.c index aac66480..a81736b1 100644 --- a/Kernel/threads.c +++ b/Kernel/threads.c @@ -1313,6 +1313,9 @@ tThread *Threads_GetNextToRun(int CPU, tThread *Last) SHORTREL(&glThreadListLock); return NULL; } + if( thread->Status != THREAD_STAT_ACTIVE ) { + LogF("Oops, Thread %i (%s) is not active\n", thread->TID, thread->ThreadName); + } } #elif SCHEDULER_TYPE == SCHED_RR_SIM { diff --git a/Makefile.armv7.cfg b/Makefile.armv7.cfg index dc35ca71..98d95c87 100644 --- a/Makefile.armv7.cfg +++ b/Makefile.armv7.cfg @@ -6,3 +6,5 @@ OBJDUMP = arm-elf-objdump DISASM = $(OBJDUMP) -d -S ARCHDIR = armv7 STRIP = arm-elf-strip + +ASSUFFIX = S diff --git a/Makefile.cfg b/Makefile.cfg index 4dc0385c..cdf351bf 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -20,6 +20,7 @@ STRIP := strip MKDIR := mkdir -p RMDIR := rm -rf lCP := cp +ASSUFFIX = asm # Load Architecture settings diff --git a/RunQemuArm b/RunQemuArm index c0e1239c..b15d6176 100755 --- a/RunQemuArm +++ b/RunQemuArm @@ -22,6 +22,10 @@ while [ $# -ne 0 ]; do shift QEMU_PARAMS=$QEMU_PARAMS" "$1 ;; + -bin) + shift + QEMU=$1 + ;; -tuntap) _NETTYPE="tap" esac -- 2.20.1