summaryrefslogtreecommitdiffstats
path: root/c-user
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-17 13:46:52 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-20 08:08:06 +0100
commite2a1a3ab2a4d137c3a68250c9f1ddc5f2d9af7e4 (patch)
tree5346b4a95d564f8b1696d3301d8b64c45e15ba2a /c-user
parentc-user: Remove clock driver specific functions (diff)
downloadrtems-docs-e2a1a3ab2a4d137c3a68250c9f1ddc5f2d9af7e4.tar.bz2
c-user: Clarify rtems_interrupt_flash()
Diffstat (limited to 'c-user')
-rw-r--r--c-user/interrupt_manager.rst18
1 files changed, 11 insertions, 7 deletions
diff --git a/c-user/interrupt_manager.rst b/c-user/interrupt_manager.rst
index 11293f6..1a8e3cb 100644
--- a/c-user/interrupt_manager.rst
+++ b/c-user/interrupt_manager.rst
@@ -404,18 +404,22 @@ DIRECTIVE STATUS CODES:
NONE
DESCRIPTION:
- This directive temporarily enables maskable interrupts to the ``level``
- which was returned by a previous call to ``rtems_interrupt_disable``.
- Immediately prior to invoking this directive, maskable interrupts should be
- disabled by a call to ``rtems_interrupt_disable`` and will be redisabled
- when this directive returns to the caller.
+ This directive is functionally equivalent to a
+ ``rtems_interrupt_enable( level )`` immediately followed by a
+ ``rtems_interrupt_disable( level )``. On some
+ architectures it is possible to provide an optimized implementation for
+ this sequence.
NOTES:
This directive will not cause the calling task to be preempted.
- This directive is only available on uni-processor configurations. The
+ This directive is only available in uni-processor configurations. The
directives ``rtems_interrupt_local_disable`` and
- ``rtems_interrupt_local_enable`` is available on all configurations.
+ ``rtems_interrupt_local_enable`` are available in all configurations.
+
+ Historically, the interrupt flash directive was heavily used in the
+ operating system implementation. However, this is no longer the case. The
+ interrupt flash directive is provided for backward compatibility reasons.
.. raw:: latex