mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
22787ee109
Summary: - In case of SMP and ADDRENV, allocate current group for each cpu - g_pid_current holds pid of the group and uses for addrenv switching - allocate g_group_current for each cpu in stead of g_pid_current - g_group_current is the array that pointed to the current task_group_s struct Impact: - ADDRENV=y and SMP=y Testing: - sabre-6quad:smp w/ qemu - sabre-6quad:knsh w/ qemu - sabre-6quad:knsh_smp w/ qemu (WIP) Signed-off-by: Oki Minabe <minabe.oki@gmail.com>