Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dsmm_test.c28 #define SMRAM_GPA 0x1000000 macro
105 vm_userspace_mem_region_add(vm, VM_MEM_SRC_ANONYMOUS, SMRAM_GPA, in main()
107 TEST_ASSERT(vm_phy_pages_alloc(vm, SMRAM_PAGES, SMRAM_GPA, SMRAM_MEMSLOT) in main()
108 == SMRAM_GPA, "could not allocate guest physical addresses?"); in main()
110 memset(addr_gpa2hva(vm, SMRAM_GPA), 0x0, SMRAM_SIZE); in main()
111 memcpy(addr_gpa2hva(vm, SMRAM_GPA) + 0x8000, smi_handler, in main()
114 vcpu_set_msr(vm, VCPU_ID, MSR_IA32_SMBASE, SMRAM_GPA); in main()