summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-04-07 19:07:04 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-04-10 08:45:04 +0200
commit5280dc114262cbf1056edea8e4211ea31727829e (patch)
tree42b0ba753e3fa3b729c4b51b075a29c1a367128d
parentca1ce3c2a422a78f115be3f81d2f4b1ce5a1697a (diff)
downloadrtems-5280dc114262cbf1056edea8e4211ea31727829e.tar.bz2
bsps: Update due to API changes
-rw-r--r--c/src/lib/libbsp/arm/shared/armv7m/clock/armv7m-clock-config.c4
-rw-r--r--c/src/lib/libbsp/powerpc/qoriq/clock/clock-config.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/arm/shared/armv7m/clock/armv7m-clock-config.c b/c/src/lib/libbsp/arm/shared/armv7m/clock/armv7m-clock-config.c
index 82fefcee9f..e1267702ba 100644
--- a/c/src/lib/libbsp/arm/shared/armv7m/clock/armv7m-clock-config.c
+++ b/c/src/lib/libbsp/arm/shared/armv7m/clock/armv7m-clock-config.c
@@ -20,7 +20,7 @@
#ifdef ARM_MULTILIB_ARCH_V7M
/* This is defined in clockdrv_shell.h */
-rtems_isr Clock_isr(rtems_vector_number vector);
+static rtems_isr Clock_isr(void *arg);
#define _ARMV7M_Systick_get_factor(freq) \
((1000000000ULL << 32) / (freq))
@@ -43,7 +43,7 @@ static void _ARMV7M_Systick_at_tick(void)
static void _ARMV7M_Systick_handler(void)
{
_ARMV7M_Interrupt_service_enter();
- Clock_isr(ARMV7M_VECTOR_SYSTICK);
+ Clock_isr(NULL);
_ARMV7M_Interrupt_service_leave();
}
diff --git a/c/src/lib/libbsp/powerpc/qoriq/clock/clock-config.c b/c/src/lib/libbsp/powerpc/qoriq/clock/clock-config.c
index 249d604f74..d7c7ad7e14 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/clock/clock-config.c
+++ b/c/src/lib/libbsp/powerpc/qoriq/clock/clock-config.c
@@ -7,7 +7,7 @@
*/
/*
- * Copyright (c) 2011 embedded brains GmbH. All rights reserved.
+ * Copyright (c) 2011-2012 embedded brains GmbH. All rights reserved.
*
* embedded brains GmbH
* Obere Lagerstr. 30
@@ -28,8 +28,8 @@
#include <bsp/qoriq.h>
#include <bsp/irq.h>
-/* This is defined in ../../../shared/clockdrv_shell.h */
-rtems_isr Clock_isr(rtems_vector_number vector);
+/* This is defined in clockdrv_shell.h */
+static rtems_isr Clock_isr(void *arg);
static uint32_t qoriq_clock_nanoseconds_per_timer_tick;
@@ -69,7 +69,7 @@ static void qoriq_clock_handler_install(rtems_isr_entry *old_isr)
CLOCK_INTERRUPT,
"Clock",
RTEMS_INTERRUPT_UNIQUE,
- (rtems_interrupt_handler) Clock_isr,
+ Clock_isr,
NULL
);
if (sc != RTEMS_SUCCESSFUL) {
@@ -98,7 +98,7 @@ static void qoriq_clock_cleanup(void)
sc = rtems_interrupt_handler_remove(
CLOCK_INTERRUPT,
- (rtems_interrupt_handler) Clock_isr,
+ Clock_isr,
NULL
);
if (sc != RTEMS_SUCCESSFUL) {