nuttx/sched
Ville Juven 50578dc501 Fix the initial idle tasks environment
- User mode allocator was used for setting up the environment. This
  works in flat mode and probably in protected mode as well, as there
  is always a a single user allocator present
- This does not work in kernel mode, where each user task has its own
  heap allocator. Also, when the idle tasks environment is being set,
  no allocator is ready and the system crashes at once.

Fix this by using the group allocators instead:
- Idle task is a kernel task, so its group is privileged
- Add group_realloc
- Use the group_malloc/realloc functions instead of kumm_malloc
2022-03-16 20:21:19 +08:00
..
clock sched/clock: Remove CLOCK_MONOTONIC option from Kconfig 2022-02-23 01:21:26 +08:00
environ Fix the initial idle tasks environment 2022-03-16 20:21:19 +08:00
group Fix the initial idle tasks environment 2022-03-16 20:21:19 +08:00
init Fix the initial idle tasks environment 2022-03-16 20:21:19 +08:00
irq sched/irq: Remove the code which zero out g_irqvector fields 2022-03-12 15:06:39 -03:00
module Fix -Werror=nonnull-compare and -Werror=format-truncation= 2022-03-02 15:55:38 +08:00
mqueue sched/mqueue: remove unused leave_cancellation_point 2022-02-10 22:33:21 +08:00
paging Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
pthread sched: Mark pthread as non-cancelable to avoid additional calls to pthread_exit() 2022-02-20 15:36:07 +01:00
sched xsched/note:add switch and dump instrumentation 2022-02-23 21:56:58 +08:00
semaphore os init_state: add new state OSINIT_IDLELOOP 2022-02-23 22:05:37 +09:00
signal Revert "libc: Call pthread_exit in user-space by up_pthread_exit" 2022-02-09 21:21:43 +08:00
task sched/group: Simplify the allocation and deallocation logic 2022-03-04 12:11:24 +09:00
timer sched/timer: remove unused variable 2022-02-27 12:27:35 -05:00
wdog sched/wdog: Remove wd_initialize which isn't really used anymore 2022-03-12 15:06:39 -03:00
wqueue Fix -Werror=nonnull-compare and -Werror=format-truncation= 2022-03-02 15:55:38 +08:00
Kconfig sched: Fix typo in references to SIGEV_THREAD 2022-03-10 23:18:26 +02:00
Makefile style/Makefile: remove unnecessary trailing whitespace 2020-11-28 12:20:30 +01:00