Oopenvela-robotarch: add noinstrument_function to up_irq_save/restore
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
arch: add noinstrument_function to up_irq_save/restore Add noinstrument_function attribute to up_irq_save and up_irq_restore functions across all architectures that were missing it. These functions are called in the instrument callback path and must not be instrumented to avoid infinite recursion when CONFIG_ARCH_INSTRUMENT_ALL is enabled. Note: armv7-a, armv7-r, armv8-r, risc-v, xtensa, and tricore already had noinstrument_function attribute. Signed-off-by: yezhonghui <yezhonghui@xiaomi.com> | 2 个月前 | |
sched: unify the thread exit running task behavior. We already split switch_context into nxsched_suspend_scheduler and nxsched_resume_scheduler, when task_exit, set running = NULL for more compatible. The switch context is much more frequency than task_exit, we should prefer decrease the switch_context record time cost. Also the x_doirq xcp.regs save will be more unified. Signed-off-by: wangzhi16 <wangzhi16@xiaomi.com> Signed-off-by: ligd <liguiding1@xiaomi.com> | 2 个月前 | |
libc/machine: realize atomic based on hwspinlock Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 |