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:
Joel Sherrill
2009-08-05 15:36:49 +00:00
parent 74f4edaf44
commit 2b3692d315
3 changed files with 11 additions and 0 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -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