summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-01 17:42:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-01 17:42:44 +0000
commita25f7028cb6ad0413e71d28fb250750a1f031c4e (patch)
tree554aa19e1be0ffbd74c390ea0db320899e125ea6
parentAdded return 0 to pollWrite and InterruptWrite examples. Chris (diff)
downloadrtems-a25f7028cb6ad0413e71d28fb250750a1f031c4e.tar.bz2
Clarified catch and disable per suggestion from Chris Johns <ccj@acm.org>.
-rw-r--r--doc/user/intr.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/user/intr.t b/doc/user/intr.t
index 74fbf7af6b..aa2f0a3aff 100644
--- a/doc/user/intr.t
+++ b/doc/user/intr.t
@@ -265,6 +265,14 @@ routine (ISR) for the specified interrupt vector number. The
The entry point of the previous ISR for the specified vector is
returned in @code{old_isr_handler}.
+To release an interrupt vector, pass the old handler's address obtained
+when the vector was first capture.
+
+@ifset is-C
+Passing a NULL pointer as the @code{old_handler} address and this parameter
+will be ignored.
+@endif
+
@subheading NOTES:
This directive will not cause the calling task to be preempted.
@@ -280,6 +288,8 @@ This directive will not cause the calling task to be preempted.
void rtems_interrupt_disable(
rtems_isr_level level
);
+
+/* this is implemented as a macro and sets level as a side-effect */
@end example
@end ifset