Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/include/vdso.h
Show All 36 Lines | |||||
#define VDSO_TIMEHANDS_MD \ | #define VDSO_TIMEHANDS_MD \ | ||||
uint32_t th_x86_shift; \ | uint32_t th_x86_shift; \ | ||||
uint32_t th_x86_hpet_idx; \ | uint32_t th_x86_hpet_idx; \ | ||||
uint32_t th_res[6]; | uint32_t th_res[6]; | ||||
#define VDSO_TH_ALGO_X86_TSC VDSO_TH_ALGO_1 | #define VDSO_TH_ALGO_X86_TSC VDSO_TH_ALGO_1 | ||||
#define VDSO_TH_ALGO_X86_HPET VDSO_TH_ALGO_2 | #define VDSO_TH_ALGO_X86_HPET VDSO_TH_ALGO_2 | ||||
#define VDSO_TH_ALGO_X86_HVTSC VDSO_TH_ALGO_3 /* Hyper-V ref. TSC */ | #define VDSO_TH_ALGO_X86_HVTSC VDSO_TH_ALGO_3 /* Hyper-V ref. TSC */ | ||||
#define VDSO_TH_ALGO_X86_PVCLK VDSO_TH_ALGO_4 /* KVM/XEN paravirtual clock */ | |||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#ifdef COMPAT_FREEBSD32 | #ifdef COMPAT_FREEBSD32 | ||||
#define VDSO_TIMEHANDS_MD32 VDSO_TIMEHANDS_MD | #define VDSO_TIMEHANDS_MD32 VDSO_TIMEHANDS_MD | ||||
#endif | #endif | ||||
#endif | #endif | ||||
#endif | #endif |