Home
last modified time | relevance | path

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

/openbsd/usr.sbin/vmd/
H A Dx86_vm.c1119 uint64_t shift_width, pte_size; in translate_gva() local
1140 pte_size = sizeof(uint64_t); in translate_gva()
1160 pte_size = sizeof(uint32_t); in translate_gva()
1169 pte_paddr = (pt_paddr) + (pdidx * pte_size); in translate_gva()
1173 if (read_mem(pte_paddr, &pte, pte_size)) { in translate_gva()
1195 if (write_mem(pte_paddr, &pte, pte_size)) { in translate_gva()
1213 high_mask = (((uint64_t)1ULL << ((pte_size * 8) - 1)) - 1) ^ low_mask; in translate_gva()
/openbsd/sys/arch/amd64/amd64/
H A Dvmm_machdep.c3427 uint64_t shift_width, pte_size, *hva; in vmm_translate_gva() local
3458 pte_size = sizeof(uint64_t); in vmm_translate_gva()
3475 pte_size = sizeof(uint32_t); in vmm_translate_gva()
3482 "shift_width=%lld\n", __func__, pte_size, level, mask, shift, in vmm_translate_gva()
3489 pte_paddr = (pt_paddr) + (pdidx * pte_size); in vmm_translate_gva()
3504 if (pte_size == 8) in vmm_translate_gva()
3540 high_mask = (((uint64_t)1ULL << ((pte_size * 8) - 1)) - 1) ^ low_mask; in vmm_translate_gva()