From: John Hodge Date: Sat, 8 Oct 2011 10:50:58 +0000 (+0800) Subject: Misc changes X-Git-Tag: rel0.11~10 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=1b89e2cc55cd8d26923d45c7cccf5a0a651ed4c4;p=tpg%2Facess2.git Misc changes --- 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