diff options
Diffstat (limited to 'rtemsbsd/include/rtems/bsd/sys')
-rw-r--r-- | rtemsbsd/include/rtems/bsd/sys/time.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rtemsbsd/include/rtems/bsd/sys/time.h b/rtemsbsd/include/rtems/bsd/sys/time.h index 4eeff864..b6f45ba0 100644 --- a/rtemsbsd/include/rtems/bsd/sys/time.h +++ b/rtemsbsd/include/rtems/bsd/sys/time.h @@ -293,6 +293,7 @@ rtems_bsd_time_uptime(void) #define time_second rtems_bsd_time_second() #define time_uptime rtems_bsd_time_uptime() #endif /* __rtems__ */ +extern struct bintime boottimebin; extern struct timeval boottime; /* @@ -355,7 +356,15 @@ microtime(struct timeval *tvp) } #endif /* __rtems__ */ +#ifndef __rtems__ void getbinuptime(struct bintime *bt); +#else /* __rtems__ */ +static inline void +getbinuptime(struct bintime *bt) +{ + binuptime(bt); +} +#endif /* __rtems__ */ void getnanouptime(struct timespec *tsp); #ifndef __rtems__ void getmicrouptime(struct timeval *tvp); |