mirror of https://github.com/ARMmbed/mbed-os.git
Move Code to get Cortex A tick irqn
Move the function "mbed_get_a9_tick_irqn()" declared in os_tick.h
to SysTimer.h so it does not get overridden when RTX is updated.
This function was originally added in:
3d3e89097d
Fixes for RZ_A1H issue 6543
pull/7875/head
parent
2f8e679183
commit
5d0aac53bb
|
@ -46,6 +46,10 @@ extern "C" {
|
|||
extern "C" IRQn_Type mbed_get_m0_tick_irqn(void);
|
||||
#endif
|
||||
|
||||
#if defined(TARGET_CORTEX_A)
|
||||
extern "C" IRQn_ID_t mbed_get_a9_tick_irqn(void);
|
||||
#endif
|
||||
|
||||
namespace rtos {
|
||||
namespace internal {
|
||||
|
||||
|
|
|
@ -26,9 +26,6 @@
|
|||
#define OS_TICK_H
|
||||
|
||||
#include <stdint.h>
|
||||
#if defined(TARGET_CORTEX_A)
|
||||
#include "irq_ctrl.h"
|
||||
#endif
|
||||
|
||||
/// IRQ Handler.
|
||||
#ifndef IRQHANDLER_T
|
||||
|
@ -71,9 +68,4 @@ uint32_t OS_Tick_GetCount (void);
|
|||
/// \return OS Tick overflow status (1 - overflow, 0 - no overflow).
|
||||
uint32_t OS_Tick_GetOverflow (void);
|
||||
|
||||
/// Get Cortex-A9 OS Timer interrupt number
|
||||
/// \returns Cortex-A9 OS Timer interrupt number (134)
|
||||
#if defined(TARGET_CORTEX_A)
|
||||
IRQn_ID_t mbed_get_a9_tick_irqn(void);
|
||||
#endif
|
||||
#endif /* OS_TICK_H */
|
||||
|
|
Loading…
Reference in New Issue