hujun260 commented on code in PR #14761: URL: https://github.com/apache/nuttx/pull/14761#discussion_r1841466655
########## sched/irq/irq_csection.c: ########## @@ -75,6 +75,18 @@ volatile uint8_t g_cpu_nestcount[CONFIG_SMP_NCPUS]; * Private Functions ****************************************************************************/ +static bool csection_degraded(void) Review Comment: > any logic, including DIAGASSERT, you mean? why? This line indicate that enter_critical_section should not be used early in the boot https://github.com/apache/nuttx/blob/d4f6cc229d55a0c252ba6a821b9f1789e53d4bbc/sched/irq/irq_csection.c#L206 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
