mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-15 07:27:26 +08:00
c-user: Clarify local interrupt disable
This commit is contained in:
parent
b2c766bc72
commit
0ef3449a75
@ -485,8 +485,8 @@ DIRECTIVE STATUS CODES:
|
|||||||
NONE
|
NONE
|
||||||
|
|
||||||
DESCRIPTION:
|
DESCRIPTION:
|
||||||
This directive disables all maskable interrupts and returns the previous
|
This directive disables all maskable interrupts on the current processor
|
||||||
interrupt level in ``level``.
|
and returns the previous interrupt level in ``level``.
|
||||||
|
|
||||||
NOTES:
|
NOTES:
|
||||||
A later invocation of the ``rtems_interrupt_local_enable`` directive should
|
A later invocation of the ``rtems_interrupt_local_enable`` directive should
|
||||||
@ -516,7 +516,10 @@ NOTES:
|
|||||||
*/
|
*/
|
||||||
rtems_interrupt_local_disable( level );
|
rtems_interrupt_local_disable( level );
|
||||||
|
|
||||||
/* Local critical section, maskable interrupts are disabled */
|
/*
|
||||||
|
* Local critical section, maskable interrupts on the current
|
||||||
|
* processor are disabled.
|
||||||
|
*/
|
||||||
|
|
||||||
{
|
{
|
||||||
rtems_interrupt level2;
|
rtems_interrupt level2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user