c-user: Clarify local interrupt disable

This commit is contained in:
Sebastian Huber 2017-12-01 09:31:57 +01:00
parent b2c766bc72
commit 0ef3449a75

View File

@ -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;