incubator-nuttx/arch/sim
Masayuki Ishikawa 6d65e9f38e arch: sim: Add NuttX symbols to make SMP work correctly
Summary:
- I noticed that sim:smp does not work correctly on macOS
  due to the recent changes
- Actually, it can not receive the IPI host signal, so if
  a new task is scheduled on CPU1/2/3, it hangs.
- Finally, I found that sim_cpu_start() calls pthread_attr_init()
  which locates not on the host OS but on the NuttX
- This commit fixes this issue by adding the symbol names
  to nuttx-names.in

Impact:
- sim in SMP mode
- NOTE: stack usage for CPU1/2/3 IDLE is still incorrect on macOS

Testing:
- Tested with ostest on Ubuntu 18.04 (x86_64) and macOS 11.4 (x86_64)

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-22 09:03:30 -07:00
..
include arch: Rename xxx_getsp to up_getsp 2021-06-09 10:20:02 -07:00
src arch: sim: Add NuttX symbols to make SMP work correctly 2021-07-22 09:03:30 -07:00
Kconfig sim: remove CONFIG_SIM_WALLTIME fast timing maybe harmful for IOs 2021-07-02 05:02:36 -05:00