nuttx/arch/sim
dulibo1 1237e9fcea smp:fix sim build error under config CONFIG_SMP
CC:  sim/sim_smpsignal.c init/nx_smpstart.c: In function ‘nx_idle_trampoline’:
init/nx_smpstart.c:68:21: warning: unused variable ‘tcb’ [-Wunused-variable]
   68 |   FAR struct tcb_s *tcb = this_task_inirq();
      |                     ^~~
sim/sim_smpsignal.c: In function ‘host_cpu_started’:
sim/sim_smpsignal.c:271:17: warning: unused variable ‘tcb’ [-Wunused-variable]
  271 |   struct tcb_s *tcb = this_task();

sim/sim_smpsignal.c:249:33: error: ‘cpu’ undeclared (first use in this function)
  249 |   restore_critical_section(tcb, cpu);
      |                                 ^~~

Signed-off-by: buxiasen <buxiasen@xiaomi.com>
2024-10-10 17:55:47 +08:00
..
include sim: change the type of xcpt_reg_t 2024-10-08 23:51:33 +08:00
src smp:fix sim build error under config CONFIG_SMP 2024-10-10 17:55:47 +08:00
CMakeLists.txt windows sim:add MSCV atomic support for fix windows build error 2024-08-14 22:36:57 +08:00
Kconfig sim_sound: add AUDIOUTILS_LAME to dependency list 2024-09-10 20:25:48 +08:00