1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2012 ARM Limited
3 // Copyright (C) 2005-2017 Andes Technology Corporation
4 #ifndef __ASM_VDSO_DATAPAGE_H
5 #define __ASM_VDSO_DATAPAGE_H
12 bool cycle_count_down
; /* timer cyclye counter is decrease with time */
13 u32 cycle_count_offset
; /* offset of timer cycle counter register */
14 u32 seq_count
; /* sequence count - odd during updates */
15 u32 xtime_coarse_sec
; /* coarse time */
16 u32 xtime_coarse_nsec
;
18 u32 wtm_clock_sec
; /* wall to monotonic offset */
20 u32 xtime_clock_sec
; /* CLOCK_REALTIME - seconds */
21 u32 cs_mult
; /* clocksource multiplier */
22 u32 cs_shift
; /* Cycle to nanosecond divisor (power of two) */
24 u64 cs_cycle_last
; /* last cycle value */
25 u64 cs_mask
; /* clocksource mask */
27 u64 xtime_clock_nsec
; /* CLOCK_REALTIME sub-ns base */
28 u32 tz_minuteswest
; /* timezone info for gettimeofday(2) */
32 #endif /* !__ASSEMBLY__ */
34 #endif /* __KERNEL__ */
36 #endif /* __ASM_VDSO_DATAPAGE_H */