incubator-nuttx/sched/group
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
..
Make.defs Fix the initial idle tasks environment 2022-03-16 20:21:19 +08:00
group.h sched/group: Simplify the allocation and deallocation logic 2022-03-04 12:11:24 +09:00
group_addrenv.c
group_childstatus.c group/child_status: Dynamically expand group child_status 2021-07-15 20:14:57 -07:00
group_continue.c
group_create.c sched/group: Simplify the allocation and deallocation logic 2022-03-04 12:11:24 +09:00
group_exitinfo.c
group_find.c
group_foreachchild.c
group_free.c
group_getgid.c
group_getuid.c
group_join.c
group_killchildren.c
group_leave.c sched/group: Simplify the allocation and deallocation logic 2022-03-04 12:11:24 +09:00
group_malloc.c
group_realloc.c Fix the initial idle tasks environment 2022-03-16 20:21:19 +08:00
group_setgid.c
group_setuid.c
group_setupidlefiles.c sched/group: Move files_initlist/lib_stream_initialize to group_alloc 2022-03-02 20:29:52 +09:00
group_setupstreams.c sched/group: Move files_initlist/lib_stream_initialize to group_alloc 2022-03-02 20:29:52 +09:00
group_setuptaskfiles.c sched/group: Move files_initlist/lib_stream_initialize to group_alloc 2022-03-02 20:29:52 +09:00
group_signal.c
group_suspendchildren.c
group_waiter.c sched/group: Simplify the allocation and deallocation logic 2022-03-04 12:11:24 +09:00
group_zalloc.c