Misc changes
authorJohn Hodge <[email protected]>
Sat, 8 Oct 2011 10:50:58 +0000 (18:50 +0800)
committerJohn Hodge <[email protected]>
Sat, 8 Oct 2011 10:50:58 +0000 (18:50 +0800)
Kernel/threads.c
Makefile.armv7.cfg
Makefile.cfg
RunQemuArm

index aac6648..a81736b 100644 (file)
@@ -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
        {               
index dc35ca7..98d95c8 100644 (file)
@@ -6,3 +6,5 @@ OBJDUMP = arm-elf-objdump
 DISASM = $(OBJDUMP) -d -S
 ARCHDIR = armv7
 STRIP = arm-elf-strip
+
+ASSUFFIX = S
index 4dc0385..cdf351b 100644 (file)
@@ -20,6 +20,7 @@ STRIP := strip
 MKDIR := mkdir -p
 RMDIR := rm -rf
 lCP := cp
+ASSUFFIX = asm
 
 
 # Load Architecture settings
index c0e1239..b15d617 100755 (executable)
@@ -22,6 +22,10 @@ while [ $# -ne 0 ]; do
                shift
                QEMU_PARAMS=$QEMU_PARAMS" "$1
                ;;
+       -bin)
+               shift
+               QEMU=$1
+               ;;
        -tuntap)
                _NETTYPE="tap"
        esac

UCC git Repository :: git.ucc.asn.au