summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-22 20:19:12 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-22 20:19:12 +0000
commite0de6ef3ad4226a91c024823e33dd45c8cb306b7 (patch)
treed7c4cea066378f6c0a062b3199a3340e0ee133bb /c/src/exec/rtems
parentmultiprocessing fixed on linux by fixing cpu.c so correct form of (diff)
downloadrtems-e0de6ef3ad4226a91c024823e33dd45c8cb306b7.tar.bz2
promote TOD_MICROSECONDS_TO_TICKS through API as RTEMS_MICROSECONDS_PER_TICK.
Diffstat (limited to 'c/src/exec/rtems')
-rw-r--r--c/src/exec/rtems/headers/support.h2
-rw-r--r--c/src/exec/rtems/include/rtems/rtems/support.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/c/src/exec/rtems/headers/support.h b/c/src/exec/rtems/headers/support.h
index b4f2a5a061..d5c9c494a0 100644
--- a/c/src/exec/rtems/headers/support.h
+++ b/c/src/exec/rtems/headers/support.h
@@ -84,6 +84,8 @@ extern "C" {
TOD_MILLISECONDS_TO_MICROSECONDS(_ms)
#define RTEMS_MILLISECONDS_TO_TICKS(_ms) \
TOD_MILLISECONDS_TO_TICKS(_ms)
+#define RTEMS_MICROSECONDS_TO_TICKS(_ms) \
+ TOD_MICROSECONDS_TO_TICKS(_ms)
#ifndef __RTEMS_APPLICATION__
#include <rtems/rtems/support.inl>
diff --git a/c/src/exec/rtems/include/rtems/rtems/support.h b/c/src/exec/rtems/include/rtems/rtems/support.h
index b4f2a5a061..d5c9c494a0 100644
--- a/c/src/exec/rtems/include/rtems/rtems/support.h
+++ b/c/src/exec/rtems/include/rtems/rtems/support.h
@@ -84,6 +84,8 @@ extern "C" {
TOD_MILLISECONDS_TO_MICROSECONDS(_ms)
#define RTEMS_MILLISECONDS_TO_TICKS(_ms) \
TOD_MILLISECONDS_TO_TICKS(_ms)
+#define RTEMS_MICROSECONDS_TO_TICKS(_ms) \
+ TOD_MICROSECONDS_TO_TICKS(_ms)
#ifndef __RTEMS_APPLICATION__
#include <rtems/rtems/support.inl>