Changeset 1fea8c4 in rtems-libbsd
- Timestamp:
- 12/12/13 15:52:24 (10 years ago)
- Branches:
- 4.11, 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
- Children:
- e10d1cd
- Parents:
- 1d42ceb
- git-author:
- Sebastian Huber <sebastian.huber@…> (12/12/13 15:52:24)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (12/16/13 14:35:51)
- Location:
- rtemsbsd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
rtemsbsd/include/rtems/bsd/sys/time.h
r1d42ceb r1fea8c4 294 294 #define time_uptime rtems_bsd_time_uptime() 295 295 #endif /* __rtems__ */ 296 extern struct bintime boottimebin; 296 297 extern struct timeval boottime; 297 298 … … 356 357 #endif /* __rtems__ */ 357 358 359 #ifndef __rtems__ 358 360 void getbinuptime(struct bintime *bt); 361 #else /* __rtems__ */ 362 static inline void 363 getbinuptime(struct bintime *bt) 364 { 365 binuptime(bt); 366 } 367 #endif /* __rtems__ */ 359 368 void getnanouptime(struct timespec *tsp); 360 369 #ifndef __rtems__ -
rtemsbsd/rtems/rtems-bsd-init.c
r1d42ceb r1fea8c4 70 70 int maxusers; /* base tunable */ 71 71 72 struct bintime boottimebin; 72 73 struct timeval boottime; 73 74 … … 82 83 83 84 gettimeofday(&boottime, NULL); 85 timeval2bintime(&boottime, &boottimebin); 84 86 85 87 sc = rtems_timer_initiate_server(
Note: See TracChangeset
for help on using the changeset viewer.