Hi Community
During troubleshooting a scanned through some SYS/BIOS code [1] and saw that during the Load_getTaskLoad(), Load_getGlobalSwiLoad() and Load_getGlobalHwiLoad() calls Hwi_disable() will be called.
For the Load_getGlobalHwiLoad() call it is straight forward to disable HWIs. But I wonder why the HWI_disable() call is also used in the Load_getTaskLoad() and Load_getGlobalSwiLoad() functions. I guess it should be also necessary to disable SWIs when calling Load_getGlobalSwiLoad().
Therefore my question is: Does the HWI_disable() call implicitly disables SWIs and Task scheduling? If it is the case, please point my to a document that is mentioning this fact.
Cheers
Jo
[1] /opt/ti/bios_6_32_05_54/packages/ti/sysbios/utils/Load.c