Commit Graph

12 Commits

Author SHA1 Message Date
Kelvin Lawson
d5a8c186b0 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.
2011-05-28 08:38:10 +05:30
Kelvin Lawson
8bb70d8a90 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. 2011-05-26 06:02:14 +05:30
Himanshu Chauhan
c091aabec0 Atomthreads working on MIPS (Qemu MIPS Machine).
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-25 22:31:13 +05:30
Himanshu Chauhan
8688d0eee0 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>
2011-05-20 09:22:05 +05:30
Himanshu Chauhan
ac40279132 Compilable MIPS code.
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-19 19:07:53 +05:30
Kelvin Lawson
b79c5c7f44 kernel/atomkernel.c: Formatting changes. 2010-06-21 21:39:59 +01:00
Kelvin Lawson
2d909ba279 Add stack usage analysis. Used for all automated test modules (if enabled) such that the automated tests can now trap some classes of thread stack overflow. ATmega port now tested on both ATMega16 and ATmega32. STM8 port not yet modified to support the new stack-checking API. 2010-03-01 20:01:10 +00:00
Kelvin Lawson
65dc87ae36 Rename parameter name from "data" to "param" - it appears that data is a reserved word with one of the STM8S compilers. 2010-02-09 23:05:27 +00:00
Kelvin Lawson
f023bf26de Put port-specific test configuration in atomport-tests.h. Rename atomuser.h to atomport.h. Non-exported port header renamed to atomport-private.h. 2010-02-01 22:49:04 +00:00
Kelvin Lawson
1c651cbff1 Kernel doxygen header formatting change 2010-01-21 01:12:29 +00:00
Kelvin Lawson
603db4ce2e Add Doxygen header to kernel module 2010-01-21 01:09:53 +00:00
Kelvin Lawson
6d599c6729 Add Atomthreads RTOS source files. 2010-01-14 01:53:45 +00:00