summaryrefslogtreecommitdiff
path: root/nuttx/sched/init
Commit message (Collapse)AuthorAgeFilesLines
* strncpy will not copy the terminating \0 into the destination if the source ↵Gregory Nutt2014-12-171-1/+2
| | | | is larger than the size of the destination. Ensure that the last byte is always zero and let strncpy only copy CONFIG_TASK_NAME_SIZE bytes. The issue of unterminated names can be observed in ps when creating a pthread while CONFIG_TASK_NAME_SIZE is set to 8.
* More fixes to problems noted by cppcheck. Some are kind of risky; some are ↵Gregory Nutt2014-11-251-0/+2
| | | | real bugs.
* Cosmetic chnages to commentsGregory Nutt2014-11-201-0/+6
|
* Rename CONFIG_SCHED_USRWORK to CONFIG_LIB_USRWORKGregory Nutt2014-10-111-3/+3
|
* Modularize starting of worker threads to better isolate individual ↵Gregory Nutt2014-10-101-58/+32
| | | | initialization characteristics
* Decoupling work queue data structures. This is part of the preparation to ↵Gregory Nutt2014-10-101-10/+10
| | | | support multiple low-priority worker threads
* Repartition work queue code. Move kernel-specific parts from libc/wqueue to ↵Gregory Nutt2014-10-101-0/+1
| | | | sched/wqueue
* Simplify how C source files are selected in the buildGregory Nutt2014-10-071-1/+1
|
* fs_initialize() is no longer weakGregory Nutt2014-10-061-6/+1
|
* Complete re-implementation of mq_closeGregory Nutt2014-09-291-0/+1
|
* Semaphore initialization is now only required if priority inheritance is ↵Gregory Nutt2014-09-291-9/+3
| | | | initialized
* Move include/nuttx/mm.h to include/nuttx/mm/mm.hGregory Nutt2014-09-241-1/+1
|
* Move include/nuttx/shm.h to include/nuttx/mm/shm.hGregory Nutt2014-09-241-1/+1
|
* Add shared memory initializatin logicGregory Nutt2014-09-231-0/+7
|
* When a privileged thread exits, we have to use the kernel alloctor to free ↵Gregory Nutt2014-09-111-8/+3
| | | | memory; when an unprivileged thread exits, we don't have to do anything... heap memory will be cleaned up when the address environment is torn down
* Add capability to perform initial board initialization on a separate worker ↵Gregory Nutt2014-09-031-17/+96
| | | | thread.
* Fix more places where the user-mode allocator is used to allocate kernel ↵Gregory Nutt2014-09-031-11/+11
| | | | thread resources -- before the user-mode allocator even exists
* IDLE TCB setup needs to indicate the the IDLE thread is a privileged, kernel ↵Gregory Nutt2014-09-031-0/+1
| | | | thread
* Restructuring of build to allow use of use-space allocators by kernel logic ↵Gregory Nutt2014-09-021-1/+1
| | | | in the kernel build.
* sbrk() need to initialized the memory manager on the first callGregory Nutt2014-09-021-2/+2
|
* Fix error in initialize of IDLE TCB due to last change. The argument list ↵Gregory Nutt2014-09-011-4/+8
| | | | is no long in the TCB, but in the stack. But not for the IDLE task. It needs its own mini-argv[] list so that it looks more like other threads.
* Remove final traces of the 8015 from the NuttX source treeGregory Nutt2014-09-012-8/+7
|
* Clean up some kernel build heap allocation issues. The Cortex-A kernel ↵Gregory Nutt2014-08-311-2/+4
| | | | build now compiles without errors (but cannot link until brk() and sbrk() are implemented).
* Add configuration options to start the system from a program on a file systemGregory Nutt2014-08-301-58/+216
|
* Cosmetic: Fix all comments, defaults, etc. that references the defunct name ↵Gregory Nutt2014-08-302-4/+4
| | | | user_start
* Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate ↵Gregory Nutt2014-08-292-7/+11
| | | | new CONFIG_BUILD_KERNEL
* Cortex-A/SAMA5 address environment support is code complete (untested)Gregory Nutt2014-08-251-0/+10
|
* Remove os_internal.h it has been replace by several new header files under ↵Gregory Nutt2014-08-081-1/+0
| | | | sched/. There have been some sneak inclusion paths via os_internal.h, so expect a few compilation errors for some architectures
* Replace os_internal.h with sched/sched.h in files that actually reference ↵Gregory Nutt2014-08-081-1/+1
| | | | something in sched.h
* Move task control files from sched/ to sched/taskGregory Nutt2014-08-081-7/+0
|
* Move initialization functions from sched/ to sched/initGregory Nutt2014-08-084-0/+946