Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/x86_64/
Dhyperv_features.c85 static void guest_hcall(vm_vaddr_t pgs_gpa, struct hcall_data *hcall) in guest_hcall() argument
90 GUEST_ASSERT_NE(hcall->control, 0); in guest_hcall()
95 if (!(hcall->control & HV_HYPERCALL_FAST_BIT)) { in guest_hcall()
102 vector = __hyperv_hypercall(hcall->control, input, output, &res); in guest_hcall()
103 if (hcall->ud_expected) { in guest_hcall()
106 hcall->control, vector); in guest_hcall()
110 hcall->control, vector); in guest_hcall()
111 GUEST_ASSERT_EQ(res, hcall->expect); in guest_hcall()
530 struct hcall_data *hcall; in guest_test_hcalls_access() local
544 hcall = addr_gva2hva(vm, hcall_params); in guest_test_hcalls_access()
[all …]
Dxen_vmcall_test.c112 TEST_ASSERT_EQ(run->xen.u.hcall.cpl, 0); in main()
113 TEST_ASSERT_EQ(run->xen.u.hcall.longmode, 1); in main()
114 TEST_ASSERT_EQ(run->xen.u.hcall.input, INPUTVALUE); in main()
115 TEST_ASSERT_EQ(run->xen.u.hcall.params[0], ARGVALUE(1)); in main()
116 TEST_ASSERT_EQ(run->xen.u.hcall.params[1], ARGVALUE(2)); in main()
117 TEST_ASSERT_EQ(run->xen.u.hcall.params[2], ARGVALUE(3)); in main()
118 TEST_ASSERT_EQ(run->xen.u.hcall.params[3], ARGVALUE(4)); in main()
119 TEST_ASSERT_EQ(run->xen.u.hcall.params[4], ARGVALUE(5)); in main()
120 TEST_ASSERT_EQ(run->xen.u.hcall.params[5], ARGVALUE(6)); in main()
121 run->xen.u.hcall.result = RETVALUE; in main()
Dhyperv_extended_hypercalls.c74 outval = addr_gpa2hva(vm, run->hyperv.u.hcall.params[1]); in main()
76 run->hyperv.u.hcall.result = HV_STATUS_SUCCESS; in main()
/tools/include/uapi/linux/
Dkvm.h199 } hcall; member
222 } hcall; member
860 __u32 hcall[4]; member