Searched refs:ucall (Results 1 – 12 of 12) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/kvm/lib/s390x/ |
D | ucall.c | 17 void ucall(uint64_t cmd, int nargs, ...) in ucall() function 19 struct ucall uc = { in ucall() 36 uint64_t get_ucall(struct kvm_vm *vm, uint32_t vcpu_id, struct ucall *uc) in get_ucall() 39 struct ucall ucall = {}; in get_ucall() local 47 memcpy(&ucall, addr_gva2hva(vm, run->s.regs.gprs[reg]), in get_ucall() 48 sizeof(ucall)); in get_ucall() 52 memcpy(uc, &ucall, sizeof(ucall)); in get_ucall() 55 return ucall.cmd; in get_ucall()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/ |
D | ucall.c | 19 void ucall(uint64_t cmd, int nargs, ...) in ucall() function 21 struct ucall uc = { in ucall() 38 uint64_t get_ucall(struct kvm_vm *vm, uint32_t vcpu_id, struct ucall *uc) in get_ucall() 41 struct ucall ucall = {}; in get_ucall() local 47 memcpy(&ucall, addr_gva2hva(vm, (vm_vaddr_t)regs.rdi), in get_ucall() 48 sizeof(ucall)); in get_ucall() 52 memcpy(uc, &ucall, sizeof(ucall)); in get_ucall() 55 return ucall.cmd; in get_ucall()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/aarch64/ |
D | ucall.c | 74 void ucall(uint64_t cmd, int nargs, ...) in ucall() function 76 struct ucall uc = { in ucall() 92 uint64_t get_ucall(struct kvm_vm *vm, uint32_t vcpu_id, struct ucall *uc) in get_ucall() 95 struct ucall ucall = {}; in get_ucall() local 104 memcpy(&ucall, addr_gva2hva(vm, gva), sizeof(ucall)); in get_ucall() 108 memcpy(uc, &ucall, sizeof(ucall)); in get_ucall() 111 return ucall.cmd; in get_ucall()
|
/external/linux-kselftest/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 190 struct ucall { struct 197 void ucall(uint64_t cmd, int nargs, ...); argument 198 uint64_t get_ucall(struct kvm_vm *vm, uint32_t vcpu_id, struct ucall *uc); 200 #define GUEST_SYNC(stage) ucall(UCALL_SYNC, 2, "hello", stage) 201 #define GUEST_DONE() ucall(UCALL_DONE, 0) 204 ucall(UCALL_ABORT, 2, \
|
/external/linux-kselftest/tools/testing/selftests/kvm/ |
D | Makefile | 11 LIBKVM_x86_64 = lib/x86_64/processor.c lib/x86_64/vmx.c lib/x86_64/ucall.c 12 LIBKVM_aarch64 = lib/aarch64/processor.c lib/aarch64/ucall.c 13 LIBKVM_s390x = lib/s390x/processor.c lib/s390x/ucall.c
|
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/ |
D | platform_info_test.c | 51 struct ucall uc; in test_msr_platform_info_enabled() 62 ucall); in test_msr_platform_info_enabled()
|
D | vmx_close_while_nested_test.c | 68 struct ucall uc; in main()
|
D | cr4_cpuid_sync_test.c | 70 struct ucall uc; in main()
|
D | vmx_dirty_log_test.c | 78 struct ucall uc; in main()
|
D | vmx_tsc_adjust_test.c | 143 struct ucall uc; in main()
|
D | evmcs_test.c | 80 struct ucall uc; in main()
|
D | state_test.c | 128 struct ucall uc; in main()
|