Searched refs:MEM_REGION_GPA (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/kvm/ |
H A D | set_memory_region_test.c | 30 #define MEM_REGION_GPA 0xc0000000 macro 45 val = READ_ONCE(*((uint64_t *)MEM_REGION_GPA)); in guest_spin_on_val() 83 TEST_ASSERT(run->mmio.phys_addr == MEM_REGION_GPA, in vcpu_worker() 120 MEM_REGION_GPA, MEM_REGION_SLOT, in spawn_vm() 127 gpa = vm_phy_pages_alloc(vm, 2, MEM_REGION_GPA, MEM_REGION_SLOT); in spawn_vm() 128 TEST_ASSERT(gpa == MEM_REGION_GPA, "Failed vm_phy_pages_alloc\n"); in spawn_vm() 130 virt_map(vm, MEM_REGION_GPA, MEM_REGION_GPA, 2); in spawn_vm() 133 hva = addr_gpa2hva(vm, MEM_REGION_GPA); in spawn_vm() 190 hva = addr_gpa2hva(vm, MEM_REGION_GPA); in test_move_memory_region() 197 vm_mem_region_move(vm, MEM_REGION_SLOT, MEM_REGION_GPA - 4096); in test_move_memory_region() [all …]
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | smaller_maxphyaddr_emulation_test.c | 17 #define MEM_REGION_GPA 0x0000000700000000 macro 67 MEM_REGION_GPA, MEM_REGION_SLOT, in main() 70 MEM_REGION_GPA, MEM_REGION_SLOT); in main() 71 TEST_ASSERT(gpa == MEM_REGION_GPA, "Failed vm_phy_pages_alloc"); in main() 72 virt_map(vm, MEM_REGION_GVA, MEM_REGION_GPA, 1); in main() 73 hva = addr_gpa2hva(vm, MEM_REGION_GPA); in main()
|