med rtos libraries
Fork of mbed-rtos by
Diff: rtx/TARGET_CORTEX_A/rt_HAL_CA.h
- Revision:
- 92:bc9729798a19
- Parent:
- 68:d3d0e710b443
--- a/rtx/TARGET_CORTEX_A/rt_HAL_CA.h Wed Sep 16 11:15:38 2015 +0100
+++ b/rtx/TARGET_CORTEX_A/rt_HAL_CA.h Fri Sep 25 13:30:34 2015 +0100
@@ -1,9 +1,9 @@
/*----------------------------------------------------------------------------
* RL-ARM - RTX
*----------------------------------------------------------------------------
- * Name: RT_HAL_CM.H
+ * Name: RT_HAL_CA.H
* Purpose: Hardware Abstraction Layer for Cortex-A definitions
- * Rev.: 21 Aug 2013
+ * Rev.: 14th Jan 2014
*----------------------------------------------------------------------------
*
* Copyright (c) 1999-2009 KEIL, 2009-2013 ARM Germany GmbH
@@ -169,6 +169,18 @@
/* HW initialization needs to be done in os_tick_init (void) -RTX_Conf_CM.c- */
}
+__inline static U32 rt_systick_val (void) {
+ /* Cortex-A doesn't have a Systick. User needs to provide an alternative timer using RTX_Conf_CM configuration */
+ /* HW initialization needs to be done in os_tick_init (void) -RTX_Conf_CM.c- */
+ return 0;
+}
+
+__inline static U32 rt_systick_ovf (void) {
+ /* Cortex-A doesn't have a Systick. User needs to provide an alternative timer using RTX_Conf_CM configuration */
+ /* HW initialization needs to be done in os_tick_init (void) -RTX_Conf_CM.c- */
+ return 0;
+}
+
__inline static void rt_svc_init (void) {
/* Register pendSV - through SGI */
volatile char *reg;
