From a25f7028cb6ad0413e71d28fb250750a1f031c4e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 1 Oct 1999 17:42:44 +0000 Subject: Clarified catch and disable per suggestion from Chris Johns . --- doc/user/intr.t | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/user') 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 -- cgit v1.2.3