[rtems commit] Clock Driver Shell - ISR handler prototype should follow port interrupt model
Joel Sherrill
joel at rtems.org
Thu May 10 12:59:25 UTC 2012
Module: rtems
Branch: master
Commit: 314fab552d6c48390ab2a3c9da572bec4f04130a
Changeset: http://git.rtems.org/rtems/commit/?id=314fab552d6c48390ab2a3c9da572bec4f04130a
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Thu May 10 07:27:19 2012 -0500
Clock Driver Shell - ISR handler prototype should follow port interrupt model
The prototype for the clock driver tick isr varies based upon
the interrupt model used by the port. This driver was checking
solely upon a flag set by the BSP.
---
c/src/lib/libbsp/shared/clockdrv_shell.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/c/src/lib/libbsp/shared/clockdrv_shell.h b/c/src/lib/libbsp/shared/clockdrv_shell.h
index 2afd3b2..c7a408e 100644
--- a/c/src/lib/libbsp/shared/clockdrv_shell.h
+++ b/c/src/lib/libbsp/shared/clockdrv_shell.h
@@ -56,7 +56,8 @@ void Clock_exit( void );
*
* Return values: NONE
*/
-#ifdef BSP_FEATURE_IRQ_EXTENSION
+#if defined(BSP_FEATURE_IRQ_EXTENSION) || \
+ (CPU_SIMPLE_VECTORED_INTERRUPTS != TRUE)
void Clock_isr(void *arg)
{
#else
More information about the vc
mailing list