Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvtd.c674 int i, spshift, ptpshift, ptpindex, nlevels; in vtd_update_mapping() local
679 ptpshift = 0; in vtd_update_mapping()
718 ptpshift = 12 + nlevels * 9; in vtd_update_mapping()
719 ptpindex = (gpa >> ptpshift) & 0x1FF; in vtd_update_mapping()
722 if (spshift >= ptpshift) { in vtd_update_mapping()
740 if ((gpa & ((1UL << ptpshift) - 1)) != 0) in vtd_update_mapping()
741 panic("gpa 0x%lx and ptpshift %d mismatch", gpa, ptpshift); in vtd_update_mapping()
755 return (1UL << ptpshift); in vtd_update_mapping()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_instruction_emul.c3095 int ptpshift = 0, ptpindex = 0; in _vm_gla2gpa() local
3138 ptpshift = PAGE_SHIFT + nlevels * 10; in _vm_gla2gpa()
3139 ptpindex = (gla >> ptpshift) & 0x3FF; in _vm_gla2gpa()
3140 pgsize = 1UL << ptpshift; in _vm_gla2gpa()
3188 pte32 >>= ptpshift; pte32 <<= ptpshift; in _vm_gla2gpa()
3235 ptpshift = PAGE_SHIFT + nlevels * 9; in _vm_gla2gpa()
3236 ptpindex = (gla >> ptpshift) & 0x1FF; in _vm_gla2gpa()
3237 pgsize = 1UL << ptpshift; in _vm_gla2gpa()
3288 pte >>= ptpshift; pte <<= (ptpshift + 12); pte >>= 12; in _vm_gla2gpa()