patacongo
|
6feabf0fee
|
Implement user-mode work queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5712 42af7a65-404d-4744-a932-0658087f49c3
|
2013-03-06 00:02:07 +00:00 |
|
patacongo
|
4134862fb2
|
Move work queue logic from sched/ to libc/wqueue. It is not core logic and will be extended to support user-space work queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5711 42af7a65-404d-4744-a932-0658087f49c3
|
2013-03-05 18:57:51 +00:00 |
|
patacongo
|
95af0bc8bf
|
Updated Open1788 calibration; More compilation fixes from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5707 42af7a65-404d-4744-a932-0658087f49c3
|
2013-03-05 13:20:26 +00:00 |
|
patacongo
|
d932e56dca
|
STM32 F4 patches from Petteri Aimonen (mostly USB)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5652 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-15 14:37:37 +00:00 |
|
patacongo
|
45de5876d0
|
Add EMC register definitions for the LPC1788
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5644 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-12 16:28:33 +00:00 |
|
patacongo
|
2d7e5ae7d8
|
Preserve access and creation flags with fcntl(F_SETFL)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5643 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-12 14:05:30 +00:00 |
|
patacongo
|
69fd9e1415
|
Add a driver for the SST30VF NOR FLASH parts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5640 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-11 21:44:00 +00:00 |
|
patacongo
|
1d6f0cbbd3
|
Some fixes needed for STM32 build after recent scheduler changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5620 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-07 16:58:43 +00:00 |
|
patacongo
|
5c093af766
|
Changed needed to fix issues with task_restart()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5615 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-06 15:43:28 +00:00 |
|
patacongo
|
bbf990f417
|
Moving pending signals to task group; Logic to recover some MQ resources on pthread_cacancel or task_delete; Now obeys rules for delivering signals to a process with threads
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5613 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-05 19:50:37 +00:00 |
|
patacongo
|
126e46a1e7
|
Bugfix: whenever a thread it must report the PID of the main task (even it is not the main task) with SIGCHLD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5612 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-04 22:38:59 +00:00 |
|
patacongo
|
7b3ec4e146
|
Divide struct tcb_s into structs task_tcb_s and pthread_tcb_s
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5611 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-04 21:24:00 +00:00 |
|
patacongo
|
b48009644f
|
Rename _TCB to struct tcb_s
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-04 18:46:28 +00:00 |
|
patacongo
|
5475d02446
|
Move list of open message queues to task group. Now message queues opened by members of the group will be closed when the last member of the group exits.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5609 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-04 16:55:38 +00:00 |
|
patacongo
|
ce722fd1e3
|
Move waitpid() data structures to task group; The caller of waitpid() is now only awakened when the final thread of the task group exits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5608 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-04 16:02:20 +00:00 |
|
patacongo
|
b1bf234bf3
|
Move atexit/on_exit data structures to task group; Now callbacks only occur when the final member of the task group exits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5607 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-04 15:29:19 +00:00 |
|
patacongo
|
46bb05696e
|
Move pthread join and key creation data into the task group
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5602 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-03 16:43:58 +00:00 |
|
patacongo
|
329328e5df
|
New interface task_spawn(); exec_builtin() now uses task_spawn(); All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5598 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-02 19:31:30 +00:00 |
|
patacongo
|
1b94639432
|
Misc clean; mark assertions as non-returning; allow toolchain prefix to be overriden from make command line
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5591 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-31 23:29:34 +00:00 |
|
patacongo
|
cdbbfaa464
|
Fix readline return value; Add support for removable serial devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5589 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-31 16:52:20 +00:00 |
|
patacongo
|
7f13b6edaf
|
LM4F update from JP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5586 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-30 18:48:13 +00:00 |
|
patacongo
|
ad430fc198
|
Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-28 21:55:16 +00:00 |
|
patacongo
|
a502d50e1e
|
Updates for stm32f4discovery/usbnsh configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5574 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-28 01:44:45 +00:00 |
|
patacongo
|
151dfee1f9
|
Add a start hook that can be setup to call a function in the context of a new thread before the new threads main() has been called.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5571 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-27 15:52:58 +00:00 |
|
patacongo
|
4c3b71131e
|
Move socket data from TCB to task group structure.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5570 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-26 23:49:02 +00:00 |
|
patacongo
|
a71843ef91
|
Move stream data from TCB to task group structure.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5569 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-26 22:25:21 +00:00 |
|
patacongo
|
ff293217de
|
Move file data from TCB to task group
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5567 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-26 20:17:29 +00:00 |
|
patacongo
|
fc8136d5d3
|
Don't keep the parent task's task ID in the child task's TCB. Instead, keep the parent task group IN the child task's task group.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5566 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-26 17:28:20 +00:00 |
|
patacongo
|
0cefbf4762
|
Move environment variables in the task group structure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5565 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-25 23:21:27 +00:00 |
|
patacongo
|
c9752dfb87
|
Add logic to send SIGCHLD to all members of a task group
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5564 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-25 20:00:37 +00:00 |
|
patacongo
|
a35fcc5970
|
Add logic to keep track of members of a task group
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5563 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-25 19:15:05 +00:00 |
|
patacongo
|
03fd50017d
|
Add framework to support task groups
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5562 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-25 17:23:38 +00:00 |
|
patacongo
|
44c3becee8
|
Add psock_poll(); Fix some warnings reported by Lorenz Meier; lm4f logic from JP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5557 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-24 18:39:53 +00:00 |
|
patacongo
|
3736ae6ba9
|
Add logic to retain child task exit status if so configured
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5553 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-23 22:23:46 +00:00 |
|
patacongo
|
685d2dfebe
|
Add single-wire UART support to STM32 serial driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5552 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-23 14:38:13 +00:00 |
|
patacongo
|
21817ecc38
|
lpc1788 update from Rommel Marcelo; Beginning of logic to retain child exit status
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5549 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-22 23:42:51 +00:00 |
|
patacongo
|
504dde5934
|
Beginning of support for LCD1602
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5545 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-21 22:46:37 +00:00 |
|
patacongo
|
2153fc40b5
|
LM3S OpenOCD configuration from Jose Pablo Carballo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5544 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-21 16:56:29 +00:00 |
|
patacongo
|
3888a00d2d
|
Add internal API task_reparent(), used in posix_spawn(). Move libc/spawn/lib_ps.c to sched/task_posixspawn.c; Move libc/spawn/spawn.h to include/nuttx/spawn.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5531 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-18 01:52:42 +00:00 |
|
patacongo
|
4a801e4904
|
NSH will now run files from the file system; Add logic to unload and clean-up after running a task from a file system; Extensions to builtin apps from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5529 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-17 18:32:13 +00:00 |
|
patacongo
|
956bded9c1
|
Add logic to automatically unload module on exit; Several patches from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5528 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-17 14:43:55 +00:00 |
|
patacongo
|
828c1c65c7
|
Change the way thread priority is handled in binfmt/ to better match the way that priority is set up for the builtin tasks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5527 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-17 00:30:12 +00:00 |
|
patacongo
|
e5908285c4
|
Rename apps/include/apps.h to builtin.h. Move parts of apps/builtins/exec_builtin.c to binfmt/libbuiltin/libbuiltin_utils.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5524 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-16 17:05:00 +00:00 |
|
patacongo
|
a1045c27e7
|
apps/builtin/binfs.c moved to nuttx/fs/binfs/fs_binfs.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5523 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-16 15:41:27 +00:00 |
|
patacongo
|
5eafdabc5f
|
BINFS now supports open, close, and FIOC_FILENAME ioctl
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5522 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-16 14:14:14 +00:00 |
|
patacongo
|
5a2eda210b
|
Finish dup logic for open files; fix bug in sigtimedwait(), would return wrong signo value if the signal was already pending
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5517 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-14 19:22:32 +00:00 |
|
patacongo
|
555e3fe1f5
|
Add support for dup2'ing files. Infrastructure and ROMFS done. Still need FAT, BINFS, NXFFS, and NFS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5516 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-14 15:42:03 +00:00 |
|
patacongo
|
b8e53dad52
|
Use SIGCHLD with waitpid(); implemented wait() and waitid()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5515 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-13 18:53:00 +00:00 |
|
patacongo
|
3f0b723b7c
|
Fix a *critical* bug in the task exit logic. Implements SIGCHILD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5513 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-12 19:58:45 +00:00 |
|
patacongo
|
6455ec191c
|
Documentation update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5512 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-11 21:51:54 +00:00 |
|