Clarified catch and disable per suggestion from Chris Johns <ccj@acm.org>.

This commit is contained in:
Joel Sherrill
1999-10-01 17:42:44 +00:00
parent b406ad206f
commit a25f7028cb

View File

@@ -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 The entry point of the previous ISR for the specified vector is
returned in @code{old_isr_handler}. 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: @subheading NOTES:
This directive will not cause the calling task to be preempted. 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( void rtems_interrupt_disable(
rtems_isr_level level rtems_isr_level level
); );
/* this is implemented as a macro and sets level as a side-effect */
@end example @end example
@end ifset @end ifset