Lines Matching refs:access

143 	seg_desc.access = usd->sd_type | usd->sd_dpl << 5 | usd->sd_p << 7;  in usd_to_seg_desc()
144 seg_desc.access |= usd->sd_xx << 12; in usd_to_seg_desc()
145 seg_desc.access |= usd->sd_def32 << 14; in usd_to_seg_desc()
146 seg_desc.access |= usd->sd_gran << 15; in usd_to_seg_desc()
190 uint32_t limit, access; in desc_table_limit_check() local
194 error = vm_get_desc(vcpu, reg, &base, &limit, &access); in desc_table_limit_check()
198 if (SEG_DESC_UNUSABLE(access) || !SEG_DESC_PRESENT(access)) in desc_table_limit_check()
223 uint32_t limit, access; in desc_table_rw() local
227 error = vm_get_desc(vcpu, reg, &base, &limit, &access); in desc_table_rw()
377 seg_desc->access = 0x10000; /* unusable */ in validate_seg_desc()
485 error = vm_set_desc(vcpu, reg, sd->base, sd->limit, sd->access); in update_seg_desc()
696 if (SEG_DESC_UNUSABLE(desc->access)) in calculate_gla()
705 assert(SEG_DESC_PRESENT(desc->access)); in calculate_gla()
710 type = SEG_DESC_TYPE(desc->access); in calculate_gla()
738 high_limit = SEG_DESC_DEF32(desc->access) ? in calculate_gla()
798 &seg_desc.limit, &seg_desc.access); in push_errcode()
816 if (SEG_DESC_DEF32(seg_desc.access)) in push_errcode()
870 uint32_t eip, ot_lim, access; in vmexit_task_switch() local
905 nt_type = SEG_DESC_TYPE(nt.access); in vmexit_task_switch()
913 if (!SEG_DESC_PRESENT(nt.access)) { in vmexit_task_switch()
971 &access); in vmexit_task_switch()
973 assert(!SEG_DESC_UNUSABLE(access) && SEG_DESC_PRESENT(access)); in vmexit_task_switch()
974 ot_type = SEG_DESC_TYPE(access); in vmexit_task_switch()