Searched refs:HOST_ADJUST (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/kvm/x86_64/ |
A D | tsc_msrs_test.c | 15 #define HOST_ADJUST (UNITY * 64) macro 43 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in guest_code() 53 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in guest_code() 64 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC_ADJUST), val - HOST_ADJUST); in guest_code() 122 vcpu_set_msr(vm, 0, MSR_IA32_TSC, HOST_ADJUST + val); in main() 123 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in main() 129 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in main() 134 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in main() 143 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in main() 153 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC_ADJUST), val - HOST_ADJUST); in main()
|
Completed in 3 milliseconds