Home
last modified time | relevance | path

Searched refs:TSC_ADJUST_VALUE (Results 1 – 1 of 1) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dvmx_tsc_adjust_test.c38 #define TSC_ADJUST_VALUE (1ll << 32) macro
76 wrmsr(MSR_IA32_TSC, l1_tsc - TSC_ADJUST_VALUE); in l2_guest_code()
77 check_ia32_tsc_adjust(-2 * TSC_ADJUST_VALUE); in l2_guest_code()
90 GUEST_ASSERT(rdtsc() < TSC_ADJUST_VALUE); in l1_guest_code()
91 wrmsr(MSR_IA32_TSC, rdtsc() - TSC_ADJUST_VALUE); in l1_guest_code()
92 check_ia32_tsc_adjust(-1 * TSC_ADJUST_VALUE); in l1_guest_code()
111 check_ia32_tsc_adjust(-1 * TSC_ADJUST_VALUE); in l1_guest_code()
117 check_ia32_tsc_adjust(-2 * TSC_ADJUST_VALUE); in l1_guest_code()
125 val, val / TSC_ADJUST_VALUE, val % TSC_ADJUST_VALUE); in report()