incubator-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
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
paging
pthread
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
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