summaryrefslogtreecommitdiff
path: root/nuttx/sched
Commit message (Collapse)AuthorAgeFilesLines
* Mostly updates and corrections to .gitignore filesGregory Nutt2013-04-041-11/+10
|
* Clone svn:ignore directory atributed to .gitignore filesGregory Nutt2013-04-041-0/+11
|
* Rework of kernel build signal dispatch to user-space handlerspatacongo2013-03-231-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5778 42af7a65-404d-4744-a932-0658087f49c3
* Corrections needed after further test of stack-based task argumentspatacongo2013-03-214-6/+24
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5771 42af7a65-404d-4744-a932-0658087f49c3
* In the kernel build, pass task paramters in the stack, not using the arrary ↵patacongo2013-03-212-45/+261
| | | | | | in the TCB git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5770 42af7a65-404d-4744-a932-0658087f49c3
* Copy siginfo_t to step before calling a user-space signal handlerpatacongo2013-03-211-1/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5769 42af7a65-404d-4744-a932-0658087f49c3
* Change prototypes of up_create_stack and up_release_stack to include a task ↵patacongo2013-03-206-20/+43
| | | | | | type parameter git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5765 42af7a65-404d-4744-a932-0658087f49c3
* Add support for ram vectors to the ARMv7-M architecturepatacongo2013-03-181-4/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5756 42af7a65-404d-4744-a932-0658087f49c3
* Add support for calling to and returning from signal handlers in in ↵patacongo2013-03-171-3/+18
| | | | | | user-mode threads git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5750 42af7a65-404d-4744-a932-0658087f49c3
* Fix bad conditional logic in mkconfig.c; Add user-mode pthread start-up logicpatacongo2013-03-161-2/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5748 42af7a65-404d-4744-a932-0658087f49c3
* Fix more compile errors and warnings introduced in recent commitspatacongo2013-03-151-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5744 42af7a65-404d-4744-a932-0658087f49c3
* Switch to user-mode before starting a new taskpatacongo2013-03-142-11/+25
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5742 42af7a65-404d-4744-a932-0658087f49c3
* Fixe to kernel build and syscalls.patacongo2013-03-133-7/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5738 42af7a65-404d-4744-a932-0658087f49c3
* Fix some ARMv7-M syscall logicpatacongo2013-03-121-6/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5736 42af7a65-404d-4744-a932-0658087f49c3
* A few early fixes in kernel build testingpatacongo2013-03-121-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5734 42af7a65-404d-4744-a932-0658087f49c3
* Reorganize some AT91SAM3U files; Add an NSH kernel build configuration to ↵patacongo2013-03-116-6/+26
| | | | | | the WaveSahhare Open1788 board git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5732 42af7a65-404d-4744-a932-0658087f49c3
* Fix a typo that crept into lpc17_allocateheap.c in the recent kernel ↵patacongo2013-03-112-0/+30
| | | | | | allocator changes git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5729 42af7a65-404d-4744-a932-0658087f49c3
* Remove user_map.h; replace with a header at the beginning of the user-space ↵patacongo2013-03-101-16/+31
| | | | | | blob. User work queue no started by os_brinup() on behalf of the application git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5727 42af7a65-404d-4744-a932-0658087f49c3
* Create sched_ufree and sched_kfree from sched_free; Use user-accessible heap ↵patacongo2013-03-1021-71/+189
| | | | | | to allocae stacks git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5725 42af7a65-404d-4744-a932-0658087f49c3
* More changes for a kernel-mode allocator (more to be done)patacongo2013-03-094-14/+42
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5724 42af7a65-404d-4744-a932-0658087f49c3
* up_addregion should use kmm_addregion; move garbage kmm*.c file to mm/. for nowpatacongo2013-03-089-814/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5721 42af7a65-404d-4744-a932-0658087f49c3
* Implement user-mode work queuespatacongo2013-03-062-75/+31
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5712 42af7a65-404d-4744-a932-0658087f49c3
* Move work queue logic from sched/ to libc/wqueue. It is not core logic and ↵patacongo2013-03-058-740/+1
| | | | | | 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
* Updated Open1788 calibration; More compilation fixes from Mike Smithpatacongo2013-03-051-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5707 42af7a65-404d-4744-a932-0658087f49c3
* Add debug output when memory allocations failpatacongo2013-02-282-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5686 42af7a65-404d-4744-a932-0658087f49c3
* Add a THTTPD configuratin for zkit-arm-1769patacongo2013-02-261-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5675 42af7a65-404d-4744-a932-0658087f49c3
* Add port to Zilogic Systems ZKIT-ARM-1769 board (more coming)patacongo2013-02-261-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5673 42af7a65-404d-4744-a932-0658087f49c3
* Minor changes to make OS test more robust in the presence of many memory ↵patacongo2013-02-262-12/+12
| | | | | | allocation failures git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5672 42af7a65-404d-4744-a932-0658087f49c3
* More Cortex-M0/NUC120 fixespatacongo2013-02-251-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5670 42af7a65-404d-4744-a932-0658087f49c3
* STM32 F4 patches from Petteri Aimonen (mostly USB)patacongo2013-02-152-0/+34
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5652 42af7a65-404d-4744-a932-0658087f49c3
* STM32F3Discovery passes all OS tests; Delay loop has been calibratedpatacongo2013-02-091-4/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5629 42af7a65-404d-4744-a932-0658087f49c3
* Fix some problems with the vfork() test on the STM32F3Discoverypatacongo2013-02-082-30/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5628 42af7a65-404d-4744-a932-0658087f49c3
* Fixes to get STM32F3Discovery runningpatacongo2013-02-082-6/+27
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5627 42af7a65-404d-4744-a932-0658087f49c3
* Some fixes needed for STM32 build after recent scheduler changespatacongo2013-02-072-10/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5620 42af7a65-404d-4744-a932-0658087f49c3
* Changed needed to fix issues with task_restart()patacongo2013-02-0617-186/+573
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5615 42af7a65-404d-4744-a932-0658087f49c3
* Misc clean-up and bugfixes related to multi-thread group signallingpatacongo2013-02-063-4/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5614 42af7a65-404d-4744-a932-0658087f49c3
* Moving pending signals to task group; Logic to recover some MQ resources on ↵patacongo2013-02-0524-432/+882
| | | | | | 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
* Bugfix: whenever a thread it must report the PID of the main task (even it ↵patacongo2013-02-0417-49/+71
| | | | | | 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
* Divide struct tcb_s into structs task_tcb_s and pthread_tcb_spatacongo2013-02-0419-143/+254
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5611 42af7a65-404d-4744-a932-0658087f49c3
* Rename _TCB to struct tcb_spatacongo2013-02-04107-317/+321
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3
* Move list of open message queues to task group. Now message queues opened ↵patacongo2013-02-046-38/+150
| | | | | | 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
* Move waitpid() data structures to task group; The caller of waitpid() is now ↵patacongo2013-02-042-18/+51
| | | | | | 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
* Move atexit/on_exit data structures to task group; Now callbacks only occur ↵patacongo2013-02-044-63/+95
| | | | | | 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
* Make the names of the execsem consistent; Need defaults for some CONFIG_ ↵patacongo2013-02-033-8/+8
| | | | | | settings git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5605 42af7a65-404d-4744-a932-0658087f49c3
* Now that join info is in the task group, need to free when task group exits. ↵patacongo2013-02-035-5/+129
| | | | | | Used to be stranded git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5603 42af7a65-404d-4744-a932-0658087f49c3
* Move pthread join and key creation data into the task grouppatacongo2013-02-0318-212/+284
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5602 42af7a65-404d-4744-a932-0658087f49c3
* Correct a memory leak in NSHpatacongo2013-02-023-10/+45
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5600 42af7a65-404d-4744-a932-0658087f49c3
* New interface task_spawn(); exec_builtin() now uses task_spawn(); All argv ↵patacongo2013-02-0212-283/+970
| | | | | | 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
* Add configs/stm32f4discovery/usbnshpatacongo2013-01-272-8/+16
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5572 42af7a65-404d-4744-a932-0658087f49c3
* Add a start hook that can be setup to call a function in the context of a ↵patacongo2013-01-277-2/+129
| | | | | | 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