Searched refs:pml4e (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/target/i386/ |
H A D | monitor.c | 144 uint64_t pml4e, pdpe, pde, pte; in tlb_info_la48() local 148 cpu_physical_memory_read(pml4_addr + l1 * 8, &pml4e, 8); in tlb_info_la48() 149 pml4e = le64_to_cpu(pml4e); in tlb_info_la48() 150 if (!(pml4e & PG_PRESENT_MASK)) { in tlb_info_la48() 154 pdp_addr = pml4e & 0x3fffffffff000ULL; in tlb_info_la48() 377 uint64_t pml4e, pdpe, pde, pte; in mem_info_la48() local 384 cpu_physical_memory_read(pml4_addr + l1 * 8, &pml4e, 8); in mem_info_la48() 385 pml4e = le64_to_cpu(pml4e); in mem_info_la48() 387 if (pml4e & PG_PRESENT_MASK) { in mem_info_la48() 388 pdp_addr = pml4e & 0x3fffffffff000ULL; in mem_info_la48() [all …]
|
H A D | arch_memory_mapping.c | 226 uint64_t pml4e; in walk_pml4e() local 232 pml4e = address_space_ldq(as, pml4e_addr, MEMTXATTRS_UNSPECIFIED, in walk_pml4e() 234 if (!(pml4e & PG_PRESENT_MASK)) { in walk_pml4e() 240 pdpe_start_addr = (pml4e & PLM4_ADDR_MASK) & a20_mask; in walk_pml4e()
|
H A D | helper.c | 263 uint64_t pml4e_addr, pml4e; in x86_cpu_get_phys_page_attrs_debug() local 285 pml4e = x86_ldq_phys(cs, pml4e_addr); in x86_cpu_get_phys_page_attrs_debug() 286 if (!(pml4e & PG_PRESENT_MASK)) { in x86_cpu_get_phys_page_attrs_debug() 289 pdpe_addr = ((pml4e & PG_ADDRESS_MASK) + in x86_cpu_get_phys_page_attrs_debug()
|
/openbmc/qemu/contrib/elf2dmp/ |
H A D | addrspace.c | 130 static bool get_pdpi(struct va_space *vs, uint64_t va, uint64_t pml4e, in get_pdpi() argument 133 uint64_t pdpte_paddr = (pml4e & 0xffffffffff000) | in get_pdpi() 202 uint64_t pml4e, pdpe, pgd, pte; in va_space_va2pa() local 204 if (!get_pml4e(vs, va, &pml4e) || !is_present(pml4e)) { in va_space_va2pa() 208 if (!get_pdpi(vs, va, pml4e, &pdpe) || !is_present(pdpe)) { in va_space_va2pa()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | processor.c | 185 uint64_t *pml4e, *pdpe, *pde; in __virt_pg_map() local 208 pml4e = virt_create_upper_pte(vm, &vm->pgd, vaddr, paddr, PG_LEVEL_512G, level); in __virt_pg_map() 209 if (*pml4e & PTE_LARGE_MASK) in __virt_pg_map() 212 pdpe = virt_create_upper_pte(vm, pml4e, vaddr, paddr, PG_LEVEL_1G, level); in __virt_pg_map() 266 uint64_t *pml4e, *pdpe, *pde; in __vm_get_page_table_entry() local 284 pml4e = virt_get_pte(vm, &vm->pgd, vaddr, PG_LEVEL_512G); in __vm_get_page_table_entry() 285 if (vm_is_target_pte(pml4e, level, PG_LEVEL_512G)) in __vm_get_page_table_entry() 286 return pml4e; in __vm_get_page_table_entry() 288 pdpe = virt_get_pte(vm, pml4e, vaddr, PG_LEVEL_1G); in __vm_get_page_table_entry() 308 uint64_t *pml4e, *pml4e_start; in virt_arch_dump() local [all …]
|