Initial port of MIPS architecture.
Completely untested. Shouldn't be merged to master.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
Compilable MIPS code.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
Half way debug code of context switching.

Main thread comes up but the secondary threads doesn't
get scheduled.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
Atomthreads working on MIPS (Qemu MIPS Machine).

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
STM8: Remove deprecated stack reference.
Use new build-cosmic output directory for Cosmic build objects.
Improve support for platforms without stddef.h. NULL definition should now be provided by architecture port file atomport.h, which in most cases can just include stddef.h.
STM8: Remove deprecated stack reference.
Use new build-cosmic output directory for Cosmic build objects.
Improve support for platforms without stddef.h. NULL definition should now be provided by architecture port file atomport.h, which in most cases can just include stddef.h.
Change related to upstream merge.

* STAND_ALONE conditional compilation is removed.
* Previous interim commits are squashed.
* printk.h is included from atomport.h
* atom-types.h and atommport-types.h have been removed.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
Fixed build break in mutex6.c

Build break was introduced as part of changes done for
upstream.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
Removing secondary thread. Calling test_start in main instead.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
Remove unnecessary stdio.h dependencies
Add support for architectures with stack alignment requirements in preparation for various 32 bit ports.
NOTE: The atomThreadCreate() and atmoOSInit() APIs have changed to take stack_bottom rather than stack_top and to allow optional stack-checking on a per-thread basis.
AVR flash-program now checks sizes against the architecture.
Reduce BSS size in queue5 and queue9 module - brings the BSS on ATmega16 to just under 1KB, allowing those tests to be run on that target.
Add comments to critical region regarding nesting requirement.
Initial port of MIPS architecture.
Completely untested. Shouldn't be merged to master.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
Compilable MIPS code.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>