aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/osal/os-less/ARMCMx/osal.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/osal/os-less/ARMCMx/osal.h')
-rw-r--r--os/hal/osal/os-less/ARMCMx/osal.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/os/hal/osal/os-less/ARMCMx/osal.h b/os/hal/osal/os-less/ARMCMx/osal.h
index 77500eeeb..9843cef97 100644
--- a/os/hal/osal/os-less/ARMCMx/osal.h
+++ b/os/hal/osal/os-less/ARMCMx/osal.h
@@ -63,7 +63,6 @@
#define MSG_WAIT (msg_t)-10
/** @} */
-
/**
* @name Special time constants
* @{
@@ -178,54 +177,6 @@ typedef int32_t msg_t;
typedef uint32_t systime_t;
/**
- * @brief Type of a Virtual Timer callback function.
- */
-typedef void (*vtfunc_t)(void *);
-
-/**
- * @brief Type of a Virtual Timer structure.
- */
-typedef struct virtual_timer virtual_timer_t;
-
-/**
- * @brief Virtual timers list header.
- * @note The content of this structure is not part of the API and should
- * not be relied upon. Implementers may define this structure in
- * an entirely different way.
- * @note The delta list is implemented as a double link bidirectional list
- * in order to make the unlink time constant, the reset of a virtual
- * timer is often used in the code.
- */
-typedef struct {
- virtual_timer_t *vt_next; /**< @brief Next timer in the timers
- list. */
- virtual_timer_t *vt_prev; /**< @brief Last timer in the timers
- list. */
- systime_t vt_time; /**< @brief Must be initialized to -1. */
- volatile systime_t vt_systime; /**< @brief System Time counter. */
-} virtual_timers_list_t;
-
-/**
- * @extends virtual_timers_list_t
- *
- * @brief Virtual Timer descriptor structure.
- * @note The content of this structure is not part of the API and should
- * not be relied upon. Implementers may define this structure in
- * an entirely different way.
- */
-struct virtual_timer {
- virtual_timer_t *vt_next; /**< @brief Next timer in the timers
- list. */
- virtual_timer_t *vt_prev; /**< @brief Previous timer in the timers
- list. */
- systime_t vt_time; /**< @brief Time delta before timeout. */
- vtfunc_t vt_func; /**< @brief Timer callback function
- pointer. */
- void *vt_par; /**< @brief Timer callback function
- parameter. */
-};
-
-/**
* @brief Type of realtime counter.
*/
typedef uint32_t rtcnt_t;