mirror of
https://github.com/apache/nuttx.git
synced 2026-10-13 09:10:17 +00:00
Update comments
This commit is contained in:
parent
47b52a2633
commit
8e029f019b
1 changed files with 3 additions and 3 deletions
|
|
@ -144,14 +144,14 @@ irqstate_t enter_critical_section(void)
|
|||
*
|
||||
* g_cpu_irqlock = SP_LOCKED.
|
||||
* g_cpu_nestcount = 0
|
||||
* The CPU bit in g_cpu_irqset should be zero
|
||||
* The bit in g_cpu_irqset for this CPU hould be zero
|
||||
*
|
||||
* 4. An extension of 2 is that we may be re-entered numerous
|
||||
* 4. An extension of 3 is that we may be re-entered numerous
|
||||
* times from the same interrupt handler. In that case:
|
||||
*
|
||||
* g_cpu_irqlock = SP_LOCKED.
|
||||
* g_cpu_nestcount > 0
|
||||
* The CPU bit in g_cpu_irqset should be zero
|
||||
* The bit in g_cpu_irqset for this CPU hould be zero
|
||||
*/
|
||||
|
||||
/* Handle nested calls to enter_critical_section() from the same
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue