Lines Matching defs:paging
203 desc_table_rw(struct vcpu *vcpu, struct vm_guest_paging *paging,
217 error = vm_copy_setup(vcpu, paging, base + SEL_START(sel),
231 desc_table_read(struct vcpu *vcpu, struct vm_guest_paging *paging,
234 return (desc_table_rw(vcpu, paging, sel, desc, true, faultptr));
238 desc_table_write(struct vcpu *vcpu, struct vm_guest_paging *paging,
241 return (desc_table_rw(vcpu, paging, sel, desc, false, faultptr));
270 sup_paging = ts->paging;
368 sup_paging = ts->paging;
502 if (ts->paging.paging_mode != PAGING_MODE_FLAT) {
503 if (ts->paging.paging_mode == PAGING_MODE_PAE) {
529 ts->paging.cr3 = tss->tss_cr3;
588 ts->paging.cpl = tss->tss_cs & SEL_RPL_MASK;
623 push_errcode(struct vcpu *vcpu, struct vm_guest_paging *paging,
666 if (vie_calculate_gla(paging->cpu_mode, VM_REG_GUEST_SS,
673 if (vie_alignment_check(paging->cpl, bytes, cr0, rflags, gla)) {
679 error = vm_copy_setup(vcpu, paging, gla, bytes, PROT_WRITE,
710 struct vm_guest_paging *paging, sup_paging;
725 paging = &vmexit->u.task_switch.paging;
727 assert(paging->cpu_mode == CPU_MODE_PROTECTED);
740 sup_paging = *paging;
896 error = push_errcode(vcpu, &task_switch->paging, nt_type,