Searched refs:MEM_REGION_GPA (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | set_memory_region_test.c | 31 #define MEM_REGION_GPA 0xc0000000 macro 46 val = READ_ONCE(*((uint64_t *)MEM_REGION_GPA)); in guest_spin_on_val() 84 TEST_ASSERT(run->mmio.phys_addr == MEM_REGION_GPA, in vcpu_worker() 121 MEM_REGION_GPA, MEM_REGION_SLOT, in spawn_vm() 128 gpa = vm_phy_pages_alloc(vm, 2, MEM_REGION_GPA, MEM_REGION_SLOT); in spawn_vm() 131 virt_map(vm, MEM_REGION_GPA, MEM_REGION_GPA, 2); in spawn_vm() 134 hva = addr_gpa2hva(vm, MEM_REGION_GPA); in spawn_vm() 188 hva = addr_gpa2hva(vm, MEM_REGION_GPA); in test_move_memory_region() 195 vm_mem_region_move(vm, MEM_REGION_SLOT, MEM_REGION_GPA - 4096); in test_move_memory_region() 212 vm_mem_region_move(vm, MEM_REGION_SLOT, MEM_REGION_GPA); in test_move_memory_region() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | smaller_maxphyaddr_emulation_test.c | 20 #define MEM_REGION_GPA 0x0000000700000000 macro 73 MEM_REGION_GPA, MEM_REGION_SLOT, in main() 76 MEM_REGION_GPA, MEM_REGION_SLOT); in main() 77 TEST_ASSERT(gpa == MEM_REGION_GPA, "Failed vm_phy_pages_alloc\n"); in main() 78 virt_map(vm, MEM_REGION_GVA, MEM_REGION_GPA, 1); in main() 79 hva = addr_gpa2hva(vm, MEM_REGION_GPA); in main()
|