Commit Graph

180 Commits

Author SHA1 Message Date
Kelvin Lawson
7bc40f9d62 Formatting changes. 2011-06-02 22:23:57 +01:00
Kelvin Lawson
fae8dd7516 Formatting changes only. 2011-06-02 22:12:56 +01:00
Himanshu Chauhan
711ce0e469 Changed the default stack size for threads.
Fixed the critical section problems.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-06-02 20:15:11 +05:30
Himanshu Chauhan
b9931b4c38 Changes rebased to lastest API changes for STACK_ALIGN
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-29 09:01:23 +05:30
Kelvin Lawson
546990788d Use info@atomthreads.com email address throughout documentation. 2011-05-28 17:28:21 +01:00
Himanshu Chauhan
8dfd1f4c0f Deleting atom-types.h not required anymore.
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-28 10:02:43 +05:30
Himanshu Chauhan
9fe564e674 Merge branch 'mips32-port'
Conflicts:
	kernel/atomsem.c
	ports/mips/tests-main.c

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-28 09:11:17 +05:30
Himanshu Chauhan
c7bc5cf396 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>
2011-05-28 09:03:27 +05:30
Kelvin Lawson
4fbbe465ee 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-28 09:02:27 +05:30
Himanshu Chauhan
fe6232c981 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-28 09:02:27 +05:30
Himanshu Chauhan
9a4dac8c76 Compilable MIPS code.
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-28 08:58:18 +05:30
Kelvin Lawson
d06cbdc16a Add comments to critical region regarding nesting requirement. 2011-05-28 08:38:10 +05:30
Kelvin Lawson
c0e238ffb2 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. 2011-05-28 08:38:10 +05:30
Kelvin Lawson
9237406b12 AVR flash-program now checks sizes against the architecture. 2011-05-28 08:38:10 +05:30
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
f686c6527a Remove unnecessary stdio.h dependencies 2011-05-28 08:38:08 +05:30
Kelvin Lawson
1e80052c98 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-28 01:52:19 +05:30
Himanshu Chauhan
dca450ffb8 Removing secondary thread. Calling test_start in main instead.
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-28 01:35:51 +05:30
Himanshu Chauhan
4ba6c9d9a7 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>
2011-05-28 01:35:51 +05:30
Himanshu Chauhan
05bd1987ea 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>
2011-05-28 01:35:51 +05:30
Kelvin Lawson
271eba687c 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-28 01:34:16 +05:30
Himanshu Chauhan
4e2b83c36f Atomthreads working on MIPS (Qemu MIPS Machine).
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-28 01:32:04 +05:30
Himanshu Chauhan
83841d2673 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-28 01:31:28 +05:30
Himanshu Chauhan
4b3c5e4ae3 Compilable MIPS code.
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-28 01:31:28 +05:30
Himanshu Chauhan
1780000e10 Initial port of MIPS architecture.
Completely untested. Shouldn't be merged to master.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-28 01:24:19 +05:30
Kelvin Lawson
a630a8945d Add comments to critical region regarding nesting requirement. 2011-05-27 17:35:56 +01:00
Kelvin Lawson
c471814b3c 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. 2011-05-27 17:16:48 +01:00
Kelvin Lawson
02660d0c80 AVR flash-program now checks sizes against the architecture. 2011-05-27 17:15:38 +01:00
Kelvin Lawson
af84aa9848 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-27 16:41:18 +01:00
Kelvin Lawson
00d4e3f2af Remove unnecessary stdio.h dependencies 2011-05-26 23:27:05 +01:00
Himanshu Chauhan
b8e805e91a Removing secondary thread. Calling test_start in main instead.
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-26 20:52:47 +05:30
Himanshu Chauhan
fa125d0883 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>
2011-05-26 06:21:13 +05:30
Himanshu Chauhan
f7dde300d4 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>
2011-05-26 06:18:54 +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
Kelvin Lawson
a87d40688b Use new build-cosmic output directory for Cosmic build objects. 2011-05-26 05:56:59 +05:30
Kelvin Lawson
789975075e STM8: Remove deprecated stack reference. 2011-05-26 05:56:59 +05:30
Kelvin Lawson
be6e60bf2f 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-25 23:52:11 +01:00
Kelvin Lawson
89f8775011 Use new build-cosmic output directory for Cosmic build objects. 2011-05-25 23:49:44 +01:00
Kelvin Lawson
8b1739e8f4 STM8: Remove deprecated stack reference. 2011-05-25 23:00:21 +01:00
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
Himanshu Chauhan
daf07b5946 Initial port of MIPS architecture.
Completely untested. Shouldn't be merged to master.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-18 22:35:45 +05:30
Natie van Rooyen
10b93017a3 atomvmCtrlIntRequest bug fix (and other updates) 2011-02-28 16:49:35 +01:00
Natie van Rooyen
2e99ef35d5 Merge branch 'master' of git@github.com:navaro/atomthreads.git 2010-09-29 03:09:41 +02:00
Natie van Rooyen
b0d5a83689 Merge branch 'gh-pages' of git@github.com:navaro/atomthreads.git 2010-09-29 03:08:51 +02:00
Natie van Rooyen
202cbcf2df interrupt request updated.
started multicore support.
2010-09-24 18:44:18 +02:00
navaro
a3dec21707 2010-09-20 01:43:38 -07:00
Natie van Rooyen
8a880d2716 Added "Thread Local Storage" 2010-09-07 19:37:59 +02:00
Natie van Rooyen
e11d17147d Initial realease. 2010-09-07 19:27:15 +02:00