Commit Graph

8995 Commits

Author SHA1 Message Date
patacongo
5d8f645892 Fix typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@101 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 21:40:52 +00:00
patacongo
62bd263bb8 Cosmetic typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@100 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 16:52:38 +00:00
patacongo
c65865c014 updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@99 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 16:52:23 +00:00
patacongo
db370f2345 Typo in naming
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@98 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 16:39:30 +00:00
patacongo
20970888b7 Keep interrupts disabled until we sample errno
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@97 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 16:39:14 +00:00
patacongo
51a1c4572a Cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@96 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 16:38:47 +00:00
patacongo
006abb3ca3 Must preserve the value of errno; it can be changed by signal handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@95 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 16:38:16 +00:00
patacongo
83857ea52b Update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@94 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 16:37:46 +00:00
patacongo
9d0cb01713 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@93 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 14:24:34 +00:00
patacongo
791c6fa348 Improved comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@92 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 14:24:13 +00:00
patacongo
afefdcd042 Should call free(), not sched_free() in this context
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@91 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 14:23:58 +00:00
patacongo
05dcf3642b Reference count field was not being initialized
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@90 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 14:23:30 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
patacongo
38c48d998a Fixed 8051 printf bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@57 42af7a65-404d-4744-a932-0658087f49c3
2007-03-11 21:16:56 +00:00
patacongo
b4fd3cdcf4 task_create now accepts variable number of arguments; 8051 bringup changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@56 42af7a65-404d-4744-a932-0658087f49c3
2007-03-11 17:37:47 +00:00
patacongo
aca78c3ff6 Updated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@55 42af7a65-404d-4744-a932-0658087f49c3
2007-03-10 14:45:23 +00:00
patacongo
aab0d08d21 Add to nsh, add limits.h, gets, strtok, strtok_r
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@54 42af7a65-404d-4744-a932-0658087f49c3
2007-03-10 14:42:30 +00:00
patacongo
36fe8c2091 Initial version
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@52 42af7a65-404d-4744-a932-0658087f49c3
2007-03-10 00:17:51 +00:00
patacongo
435fe50ea6 Fix IRQ-related bugs, fix serial read logic, add fgets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@51 42af7a65-404d-4744-a932-0658087f49c3
2007-03-10 00:17:29 +00:00
patacongo
24c887a66c Updated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@50 42af7a65-404d-4744-a932-0658087f49c3
2007-03-09 19:17:40 +00:00