summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-24 11:17:54 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-09 08:12:12 +0100
commit5f02a574783d3ee5fa5e119af1a2d5e163dd1143 (patch)
treefc3aedafc4fbdf86b370ab3e3593f256cc208b85 /cpukit/score/include
parentUpgrade to 5.0.0 (diff)
downloadrtems-5f02a574783d3ee5fa5e119af1a2d5e163dd1143.tar.bz2
score: Change _Timecounter_Time_uptime to int32_t
Move basic timecounter API shared with BSD network stack to <machine/_timecounter.h>. Update #3185.
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/timecounter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/timecounter.h b/cpukit/score/include/rtems/score/timecounter.h
index 1c318e2a78..79444de482 100644
--- a/cpukit/score/include/rtems/score/timecounter.h
+++ b/cpukit/score/include/rtems/score/timecounter.h
@@ -25,6 +25,7 @@
#include <sys/time.h>
#include <sys/timetc.h>
+#include <machine/_timecounter.h>
#include <rtems/score/isrlock.h>
@@ -227,7 +228,7 @@ extern volatile time_t _Timecounter_Time_second;
* For compatibility with the FreeBSD network stack the initial value is one
* second.
*/
-extern volatile time_t _Timecounter_Time_uptime;
+extern volatile int32_t _Timecounter_Time_uptime;
/**
* @brief The current timecounter.