Part Number: AM5746
Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi TI Experts,
Please let me confirm the following question.
[Question]
Is there any way to unlock the Task disable status without calling the Hwi_enable()?
When it called the "Task_restore()" function while the Task_disabled status, Hwi_disable was called.
From: C:\ti\bios_6_52_00_12\packages\ti\sysbios\knl\Task_smp.c
****************
Void Task_restore(UInt tskKey)
{
if (tskKey == FALSE) {
Core_hwiDisable();
if (Task_module->workFlag & (1 << Core_getId())
&& (!BIOS_swiEnabled || (BIOS_swiEnabled && Swi_enabled()))) {
Task_schedule();
}
Task_module->locked = FALSE;
Hwi_enable(); // ★
}
}
****************
* Enviroments: HW/AM5728IDK SW/bios_6_52_00_12
If you have any questions, please let me know.
Best regards.
Kaka