mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/intr.h, rtems/src/intrcatch.c: Disable rtems_interrupt_catch on targets which do not use the simple vectored interrupt model.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* rtems/include/rtems/rtems/intr.h, rtems/src/intrcatch.c: Disable
|
||||
rtems_interrupt_catch on targets which do not use the simple vectored
|
||||
interrupt model.
|
||||
|
||||
2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* score/src/heapallocatealigned.c: Fix spacing.
|
||||
|
||||
@@ -57,6 +57,7 @@ typedef rtems_isr ( *rtems_isr_entry )(
|
||||
rtems_vector_number
|
||||
);
|
||||
|
||||
#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
|
||||
/**
|
||||
* @brief Implementation of the rtems_interrupt_catch directive.
|
||||
*
|
||||
@@ -69,6 +70,7 @@ rtems_status_code rtems_interrupt_catch(
|
||||
rtems_vector_number vector,
|
||||
rtems_isr_entry *old_isr_handler
|
||||
);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Disables all maskable interrupts and returns the previous level in
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/rtems/intr.h>
|
||||
|
||||
#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
|
||||
|
||||
/* rtems_interrupt_catch
|
||||
*
|
||||
* This directive allows a thread to specify what action to take when
|
||||
@@ -56,3 +58,4 @@ rtems_status_code rtems_interrupt_catch(
|
||||
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user