pvclock.h 515 B

123456789101112131415
  1. #ifndef _ASM_X86_PVCLOCK_H
  2. #define _ASM_X86_PVCLOCK_H
  3. #include <linux/clocksource.h>
  4. #include <asm/pvclock-abi.h>
  5. /* some helper functions for xen and kvm pv clock sources */
  6. cycle_t pvclock_clocksource_read(struct pvclock_vcpu_time_info *src);
  7. void pvclock_set_flags(u8 flags);
  8. unsigned long pvclock_tsc_khz(struct pvclock_vcpu_time_info *src);
  9. void pvclock_read_wallclock(struct pvclock_wall_clock *wall,
  10. struct pvclock_vcpu_time_info *vcpu,
  11. struct timespec *ts);
  12. #endif /* _ASM_X86_PVCLOCK_H */