diff options
Diffstat (limited to 'sysroot/include/sys/asm/time.h')
| -rw-r--r-- | sysroot/include/sys/asm/time.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sysroot/include/sys/asm/time.h b/sysroot/include/sys/asm/time.h new file mode 100644 index 0000000..38932d5 --- /dev/null +++ b/sysroot/include/sys/asm/time.h @@ -0,0 +1,22 @@ + +#ifndef __MCPU_SYS_ASM_TIME_H +#define __MCPU_SYS_ASM_TIME_H + +/* HOST-independent MCPU clock IDs. */ +#define CLOCK_REALTIME 0 +#define CLOCK_MONOTONIC 1 + +/* MCPU clock_nanosleep(2) flag. */ +#define TIMER_ABSTIME 1 + +/* Fixed MCPU timeval ABI: two signed 64-bit fields. */ +#define __MCPU_TIMEVAL_SIZE 16 +#define __MCPU_TIMEVAL_TV_SEC 0 +#define __MCPU_TIMEVAL_TV_USEC 8 + +/* Fixed MCPU timespec ABI: two signed 64-bit fields. */ +#define __MCPU_TIMESPEC_SIZE 16 +#define __MCPU_TIMESPEC_TV_SEC 0 +#define __MCPU_TIMESPEC_TV_NSEC 8 + +#endif /* __MCPU_SYS_ASM_TIME_H */ |
