nuttx/arch/sim
Masayuki Ishikawa f3a81cb1b7 sim: Fix interrupt handling for SMP
Summary
- This commit fixes interrupt handling for SMP
- The following are the changes
- Introduce up_copyfullstate.c
- Add enter_critical_section() to up_exit()
- Add a critical section to up_schedule_sigaction()
- Introduce pseudo timer thread to send periodic events
- UART and interval timer are now handled in the pause handler
- Apply the same SMP related code as other CPU architectures
- However, signal handling and context switching are not changed
- Also enable debug features and some tools in smp/defconfig

Imact
- SMP only

Testing
- Tested with sim:smp on ubuntu18.04 x86_64
- Tested with hello, taskset, smp, ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-10 08:33:42 +01:00
..
include Revert "Revert "arch/sim: Make the SIGUSR1 host signal to use the NuttX irq logic"" 2020-12-10 08:33:42 +01:00
src sim: Fix interrupt handling for SMP 2020-12-10 08:33:42 +01:00
Kconfig sim: add support for simulated button device via mouse click 2020-11-30 03:35:37 -06:00