timex.h 537 B

12345678910111213141516171819202122232425
  1. /*
  2. * linux/include/asm-x86_64/timex.h
  3. *
  4. * x86-64 architecture timex specifications
  5. */
  6. #ifndef _ASMx8664_TIMEX_H
  7. #define _ASMx8664_TIMEX_H
  8. #include <asm/8253pit.h>
  9. #include <asm/msr.h>
  10. #include <asm/vsyscall.h>
  11. #include <asm/hpet.h>
  12. #include <asm/system.h>
  13. #include <asm/processor.h>
  14. #include <asm/tsc.h>
  15. #include <linux/compiler.h>
  16. #define CLOCK_TICK_RATE PIT_TICK_RATE /* Underlying HZ */
  17. extern int read_current_timer(unsigned long *timer_value);
  18. #define ARCH_HAS_READ_CURRENT_TIMER 1
  19. extern struct vxtime_data vxtime;
  20. #endif