forked from Imagelibrary/rtems
armv7m shared: Clock driver clean up and ISR Handler Prototype Correction.
This commit is contained in:
@@ -16,11 +16,12 @@
|
|||||||
#include <rtems/score/armv7m.h>
|
#include <rtems/score/armv7m.h>
|
||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
|
#include <bsp/irq.h>
|
||||||
|
|
||||||
#ifdef ARM_MULTILIB_ARCH_V7M
|
#ifdef ARM_MULTILIB_ARCH_V7M
|
||||||
|
|
||||||
/* This is defined in clockdrv_shell.h */
|
/* This is defined in clockdrv_shell.h */
|
||||||
static rtems_isr Clock_isr(void *arg);
|
void Clock_isr(rtems_irq_hdl_param arg);
|
||||||
|
|
||||||
#define _ARMV7M_Systick_get_factor(freq) \
|
#define _ARMV7M_Systick_get_factor(freq) \
|
||||||
((1000000000ULL << 32) / (freq))
|
((1000000000ULL << 32) / (freq))
|
||||||
|
|||||||
Reference in New Issue
Block a user