Commit Graph

34354 Commits

Author SHA1 Message Date
patacongo
ddec0e391a Interrupts must be disabled in all low level context switches
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@89 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 14:22:43 +00:00
patacongo
50dcba1464 Interrupts must be disabled in all low level context switches
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@89 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 14:22:43 +00:00
patacongo
be6b34d86f Cannot use dbg() macro in middle of context switch if output is to console driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@88 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 14:21:39 +00:00
patacongo
5719b443ff Cannot use dbg() macro in middle of context switch if output is to console driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@88 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 14:21:39 +00:00
patacongo
ae95280dab Verified roundrobin test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@87 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 23:22:05 +00:00
patacongo
6d9006c0f5 Fix typo in name
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@86 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 22:46:37 +00:00
patacongo
e38d16d17a Fix typo in name
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@86 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 22:46:37 +00:00
patacongo
09998e40cc Add special handling for idle task stack dump
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@85 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 22:45:58 +00:00
patacongo
c9b5d31557 Add special handling for idle task stack dump
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@85 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 22:45:58 +00:00
patacongo
5a8969b00c Minor test improvements
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@84 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 22:44:37 +00:00
patacongo
efa050ddfa Fix botched conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@83 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 22:43:36 +00:00
patacongo
31a5535de1 Fix another backward memcpy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@82 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 22:40:30 +00:00
patacongo
2242704cf6 Add test of roundrobin scheduler (still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@81 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 21:32:21 +00:00
patacongo
9fb9a09c83 Add test of roundrobin scheduler (still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@81 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 21:32:21 +00:00
patacongo
bfe401fdfe Add strerror()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@80 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 16:18:49 +00:00
patacongo
238334bcd9 Add strerror()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@80 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 16:18:49 +00:00
patacongo
82422bbec6 Added serial console driver for dm320
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@79 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 14:52:46 +00:00
patacongo
bf8f372a39 Added serial console driver for dm320
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@79 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 14:52:46 +00:00
patacongo
223a7dcd51 Add pthread_equal()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@78 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 22:44:04 +00:00
patacongo
cf89ce12f9 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@77 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 22:24:52 +00:00
patacongo
2f0bfec538 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@77 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 22:24:52 +00:00
patacongo
f1cf2a3871 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@76 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 22:07:31 +00:00
patacongo
45a923be6c Move common parts of C5471 into drivers/ so it can be used by other platforms.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@75 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 22:07:14 +00:00
patacongo
ce4313ce2c Move common parts of C5471 into drivers/ so it can be used by other platforms.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@75 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 22:07:14 +00:00
patacongo
0cc9e15ccc Define 'inline' for SDCC so that code can use the inline storage class if not supported
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@74 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 22:06:21 +00:00
patacongo
c0c7b17bf1 Remove some defines that belong in limits.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@73 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 22:04:45 +00:00
patacongo
51471e6dac Fix SDCC compilation problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@72 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 22:03:58 +00:00
patacongo
4980389bdb Bad memcpy!
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@71 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 22:03:14 +00:00
patacongo
d46387cc8b Bug fix: Cannot call free from null task (it might need to wait). Call sched_free instead
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@70 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 21:29:34 +00:00
patacongo
34415a3108 Initial version
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@68 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 15:52:58 +00:00
patacongo
4a7d216084 Initial version
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@68 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 15:52:58 +00:00
patacongo
f86ffb83dd update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@67 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 15:52:08 +00:00
patacongo
5414a30484 Add C5471 watchdog driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@66 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 00:42:02 +00:00
patacongo
7526641e4e Add C5471 watchdog driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@66 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 00:42:02 +00:00
patacongo
8b625e8e7d update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@65 42af7a65-404d-4744-a932-0658087f49c3
2007-03-15 04:13:19 +00:00
patacongo
a84ca3469b update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@65 42af7a65-404d-4744-a932-0658087f49c3
2007-03-15 04:13:19 +00:00
patacongo
6a846ac86f Documentation update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@64 42af7a65-404d-4744-a932-0658087f49c3
2007-03-15 03:00:29 +00:00
patacongo
418b7107de Documentation update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@64 42af7a65-404d-4744-a932-0658087f49c3
2007-03-15 03:00:29 +00:00
patacongo
bfee6e1ca9 Add 'ls' command to nsh
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@63 42af7a65-404d-4744-a932-0658087f49c3
2007-03-14 23:34:37 +00:00
patacongo
747295f1a8 Added opendir, readdir, closedir, etc.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@62 42af7a65-404d-4744-a932-0658087f49c3
2007-03-14 22:41:09 +00:00
patacongo
599f8b4682 Added opendir, readdir, closedir, etc.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@62 42af7a65-404d-4744-a932-0658087f49c3
2007-03-14 22:41:09 +00:00
patacongo
48bc42b3a6 Add 8052 IRQ test; Fix places where IDLE task could try to wait on semaphores
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@61 42af7a65-404d-4744-a932-0658087f49c3
2007-03-14 18:58:21 +00:00
patacongo
5be8e1a2f4 Add 8052 IRQ test; Fix places where IDLE task could try to wait on semaphores
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@61 42af7a65-404d-4744-a932-0658087f49c3
2007-03-14 18:58:21 +00:00
patacongo
08199e1216 Add 8052 IRQ test; Fix places where IDLE task could try to wait on semaphores
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@61 42af7a65-404d-4744-a932-0658087f49c3
2007-03-14 18:58:21 +00:00
patacongo
da0204f364 8052 context switch/interrupt integration; pthread arg setup changed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@60 42af7a65-404d-4744-a932-0658087f49c3
2007-03-13 23:03:12 +00:00
patacongo
613f809f5d 8052 context switch/interrupt integration; pthread arg setup changed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@60 42af7a65-404d-4744-a932-0658087f49c3
2007-03-13 23:03:12 +00:00
patacongo
8f7e5ad85e 8052 context switch/interrupt integration; pthread arg setup changed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@60 42af7a65-404d-4744-a932-0658087f49c3
2007-03-13 23:03:12 +00:00
patacongo
d56d9ecde2 8051 integration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@59 42af7a65-404d-4744-a932-0658087f49c3
2007-03-13 14:08:18 +00:00
patacongo
b1598a0052 8051 integration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@59 42af7a65-404d-4744-a932-0658087f49c3
2007-03-13 14:08:18 +00:00
patacongo
d2b2a82171 Divided _task_init() in several smaller functions that take fewer paramters. This was necessary to reduce the stack usage for the 8051/2 which has a tiny, 256 byte stack
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@58 42af7a65-404d-4744-a932-0658087f49c3
2007-03-11 22:19:01 +00:00