Semi-decennial update. 50% code inflation.
[cbaos.git] / include / timekeeping.h
blob722cf743a458aa864add48ebfb1bf788d73b96ce
1 #ifndef TIMEKEEPING_H_
2 #define TIMEKEEPING_H_
4 #include <types.h>
6 void timekeeping(u32 now);
7 u32 time_ms(void);
9 /* limit: 49.7 days in seconds or ms */
10 static inline u32 time(void)
12 return time_ms()/1000;
15 #endif