summaryrefslogtreecommitdiff
path: root/nuttx/sched
Commit message (Collapse)AuthorAgeFilesLines
* Mostly cosmetic changesGregory Nutt2014-09-041-2/+1
|
* Add capability to perform initial board initialization on a separate worker ↵Gregory Nutt2014-09-032-17/+130
| | | | thread.
* Fix more places where the user-mode allocator is used to allocate kernel ↵Gregory Nutt2014-09-038-46/+38
| | | | thread resources -- before the user-mode allocator even exists
* Group creation logic must use new group flag when allocating resources so ↵Gregory Nutt2014-09-036-3/+342
| | | | that the privileges on the resource are set correctly
* IDLE TCB setup needs to indicate the the IDLE thread is a privileged, kernel ↵Gregory Nutt2014-09-032-0/+9
| | | | thread
* Restructuring of build to allow use of use-space allocators by kernel logic ↵Gregory Nutt2014-09-022-3/+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.
* There used to be two ways to pass parameters to new tasks, depending upon ↵Gregory Nutt2014-09-012-132/+23
| | | | the configuration: Either (1) argv[] as created as an array with each string strdup'ed. Or (1) argv[] array and strings were created on the stack before the new task was started. Now, there is only one way, way (1). Way (2) might be slightly more compact, but this is not worth carry the complexity of two different ways of doing the same thing.
* Remove final traces of the 8015 from the NuttX source treeGregory Nutt2014-09-018-60/+20
|
* Reanem kzalloc to kmm_zalloc for consistencyGregory Nutt2014-08-315-6/+6
|
* Rename kmalloc to kmm_malloc for consistencyGregory Nutt2014-08-319-12/+12
|
* Rename kfree to kmm_free for consistency with other naming conventionsGregory Nutt2014-08-314-6/+6
|
* Rename kumalloc to kumm_malloc and kuzalloc to kumm_zalloc for consistency ↵Gregory Nutt2014-08-313-3/+3
| | | | with other naming
* Rename kufree to kumm_free for consistency with other namingGregory Nutt2014-08-315-5/+5
|
* Rename kmemalign to kmm_memalign and krealloc to kmm_realooc for consistency ↵Gregory Nutt2014-08-313-3/+3
| | | | with other naming
* Clean up some kernel build heap allocation issues. The Cortex-A kernel ↵Gregory Nutt2014-08-312-4/+7
| | | | build now compiles without errors (but cannot link until brk() and sbrk() are implemented).
* ARMv7-A: A little more logic and a few more fixes for Cortex-A kernel buildGregory Nutt2014-08-311-0/+10
|
* last change alters semantics of __HAVE_KERNEL_GLOBALSGregory Nutt2014-08-301-1/+1
|
* Back out and replace recent kludges for errno and clock_systimer. There is ↵Gregory Nutt2014-08-301-4/+3
| | | | a cleaner way
* Add configuration options to start the system from a program on a file systemGregory Nutt2014-08-302-58/+268
|
* Cosmetic: Fix all comments, defaults, etc. that references the defunct name ↵Gregory Nutt2014-08-303-11/+11
| | | | user_start
* Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate ↵Gregory Nutt2014-08-2915-33/+50
| | | | new CONFIG_BUILD_KERNEL
* nuttx/sched: Remove explicit references to errno. That is a problem from ↵Gregory Nutt2014-08-2815-25/+26
| | | | within the kernel for certain configurations
* In some configurations, g_system_tmer must be extern'ed as a private variableGregory Nutt2014-08-281-3/+14
|
* Fix an error introduced into ALL implmentations of interrupt dispatch logicGregory Nutt2014-08-281-0/+10
|
* Minor address environment clean-up. Cannot generate debug contexts in ↵Gregory Nutt2014-08-272-4/+3
| | | | certain contexts
* ADDRENV: Use a group flag to determine if there is an address environment ↵Gregory Nutt2014-08-272-8/+19
| | | | (instead of the thread type)
* Add group_addrenv() which will be called during context switches in order to ↵Gregory Nutt2014-08-261-0/+168
| | | | change address environments. Not yet hooked in
* Add group_addrenv() which will be called during context switches in order to ↵Gregory Nutt2014-08-265-15/+46
| | | | change address environments. Not yet hooked in
* Misc changed to get the SAMA5 ELF configuration with address environments ↵Gregory Nutt2014-08-251-1/+1
| | | | working
* Cortex-A/SAMA5 address environment support is code complete (untested)Gregory Nutt2014-08-251-0/+10
|
* Change CONFIG_ADDRENV to CONFIG_ARCH_ADDRENV; change how it is selected -- ↵Gregory Nutt2014-08-243-3/+3
| | | | the architecure must first declare support
* A few fixes for compilation errors due to recent address environment fixesGregory Nutt2014-08-222-3/+3
|
* Need to release the addess environment when the task group is releasedGregory Nutt2014-08-221-4/+10
|
* An address environment is the property of a task group, not of a threadGregory Nutt2014-08-222-14/+11
|
* Add support for statically allocated watchdog timer structuresGregory Nutt2014-08-227-90/+40
|
* wdog.h does not contain any application interface, only internal OS ↵Gregory Nutt2014-08-2117-32/+35
| | | | interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide.
* If we run out of pre-allocated watchdog times, the logic will allocate ↵Gregory Nutt2014-08-218-72/+198
| | | | additional timers from the heap. A reserve of pre-allocated watchdog timers is maintained so that there will always be timers available for interrupt handlers.
* Don't do 64-bit calculations if accuracy not achievable; Fix compile error ↵Gregory Nutt2014-08-151-34/+35
| | | | in high res RTC mode
* When reading the system timer, don't read a struct timespec, convert it to a ↵Gregory Nutt2014-08-154-79/+176
| | | | fake tick count, then back to a timespec. Remove CLOCK_ACTIVETIME.. it is non-standard, unused, and gets in the way of changes like this
* Correct release notes, updat changelog, fix some conditional compilationGregory Nutt2014-08-151-3/+5
|
* Updated commentsGregory Nutt2014-08-121-4/+14
|
* Tickless Stuff: Back out the risky timer operations when the ready-to-run ↵Gregory Nutt2014-08-124-57/+32
| | | | list is modified. That is unsafe. An ugly workaround is just to keep an interval timer going all of the time with a minimum duration equal to the timeslice interval.
* Tickless: If using an ALARM, then really should report time of expirationGregory Nutt2014-08-122-3/+191
|
* Define interfaces to use an alarm instead of an interval timer with the ↵Gregory Nutt2014-08-121-1/+18
| | | | tickless option
* Minor update to handling of timeslick delay on tast switchesGregory Nutt2014-08-112-7/+43
|
* Fix a computation error in the fix for the last computational errorGregory Nutt2014-08-111-3/+3
|
* Fix inaccurate time conversion. Remove MSEC_PER_TICK and convert uint32_t ↵Gregory Nutt2014-08-111-5/+17
| | | | to uin64_t.
* Timers: In Tickless mode, need to stop the interval timer before inserted a ↵Gregory Nutt2014-08-113-60/+145
| | | | new delay into the timer list. Otherwise, the time is incorrect on the first entry of the list