Home
last modified time | relevance | path

Searched refs:dpl (Results 1 – 14 of 14) sorted by relevance

/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Ddomain.c167 if ( ss.dpl != cs.dpl ) in arch_set_info_hvm_guest()
170 ss.dpl, cs.dpl); in arch_set_info_hvm_guest()
174 if ( ds.p && ds.dpl > cs.dpl ) in arch_set_info_hvm_guest()
177 ds.dpl, cs.dpl); in arch_set_info_hvm_guest()
181 if ( es.p && es.dpl > cs.dpl ) in arch_set_info_hvm_guest()
184 es.dpl, cs.dpl); in arch_set_info_hvm_guest()
A Demulate.c1042 else if ( hvmemul_ctxt->seg_reg[x86_seg_ss].dpl == 3 ) in __hvmemul_read()
1164 else if ( hvmemul_ctxt->seg_reg[x86_seg_ss].dpl == 3 ) in hvmemul_write()
1334 if ( hvmemul_ctxt->seg_reg[x86_seg_ss].dpl == 3 ) in hvmemul_rep_ins()
1403 if ( hvmemul_ctxt->seg_reg[x86_seg_ss].dpl == 3 ) in hvmemul_rep_outs()
1450 if ( hvmemul_ctxt->seg_reg[x86_seg_ss].dpl == 3 ) in hvmemul_rep_movs()
1608 if ( hvmemul_ctxt->seg_reg[x86_seg_ss].dpl == 3 ) in hvmemul_rep_stos()
2323 if ( hvmemul_ctxt->seg_reg[x86_seg_ss].dpl == 3 ) in hvm_emulate_init_per_insn()
A Dhvm.c2722 u8 dpl, rpl; in hvm_load_segment_selector() local
2774 dpl = (desc.b >> 13) & 3; in hvm_load_segment_selector()
2784 if ( !(desc.b & _SEGMENT_EC) && (dpl != rpl) ) in hvm_load_segment_selector()
2791 if ( (dpl != cpl) || (dpl != rpl) ) in hvm_load_segment_selector()
2809 && ((dpl < cpl) || (dpl < rpl)) ) in hvm_load_segment_selector()
3749 uint32_t walk = (ctxt.seg_reg[x86_seg_ss].dpl == 3) in hvm_ud_intercept()
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Ddesc.h128 #define _set_gate(gate_addr,type,dpl,addr) \ argument
137 ((unsigned long)(dpl) << 45) | \
145 unsigned long dpl, void *addr) in _set_gate_lower() argument
151 ((unsigned long)(dpl) << 45) | in _set_gate_lower()
/xen-4.10.0-shim-comet/xen/include/asm-x86/x86_64/
A Dregs.h17 #define permit_softint(dpl, v, r) \ argument
18 ((dpl) >= (guest_kernel_mode(v, r) ? 1 : 3))
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/vmx/
A Drealmode.c219 sreg->dpl = sreg->sel & 3; in vmx_realmode()
221 sreg->dpl = sreg->sel & 3; in vmx_realmode()
223 sreg->dpl = sreg->sel & 3; in vmx_realmode()
225 sreg->dpl = sreg->sel & 3; in vmx_realmode()
/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Demul-gate-op.c190 unsigned int sel, ar, dpl, nparm, insn_len; in pv_emulate_gate_op() local
210 dpl = (ar >> 13) & 3; in pv_emulate_gate_op()
283 dpl < (opnd_sel & 3) ) in pv_emulate_gate_op()
A Demul-priv-op.c520 reg->dpl = 3; in read_segment()
533 reg->dpl = 0; in read_segment()
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/
A Dmm.c1082 unsigned int dpl; in check_descriptor() local
1089 dpl = (b >> 13) & 3; in check_descriptor()
1090 __fixup_guest_selector(dom, dpl); in check_descriptor()
1091 b = (b & ~_SEGMENT_DPL) | (dpl << 13); in check_descriptor()
1149 cs = (cs & ~3) | dpl; in check_descriptor()
/xen-4.10.0-shim-comet/xen/arch/x86/x86_emulate/
A Dx86_emulate.h97 uint16_t dpl: 2; member
A Dx86_emulate.c1436 return reg.dpl; in get_cpl()
1689 uint8_t dpl, rpl; in protmode_load_seg() local
1720 sreg->dpl = sel; in protmode_load_seg()
1750 dpl = (desc.b >> 13) & 3; in protmode_load_seg()
1764 rpl != cpl || (desc.b & (1 << 10) ? dpl > rpl : dpl != rpl) in protmode_load_seg()
1767 ? dpl > cpl in protmode_load_seg()
1769 : rpl > cpl || dpl != cpl ) in protmode_load_seg()
1784 if ( (dpl != cpl) || (dpl != rpl) ) in protmode_load_seg()
1805 ((dpl < cpl) || (dpl < rpl)) ) in protmode_load_seg()
1811 ((dpl < cpl) || (dpl < rpl)) ) in protmode_load_seg()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dtraps.c1803 uint32_t dpl, void *addr) in __set_intr_gate() argument
1805 _set_gate(&idt_table[n], SYS_DESC_irq_gate, dpl, addr); in __set_intr_gate()
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/
A Dvpmu.c304 r->cpl = seg.dpl; in vpmu_do_interrupt()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/svm/
A Dsvm.c665 reg->dpl = vmcb_get_cpl(vmcb); in svm_get_segment_register()
734 vmcb_set_cpl(vmcb, reg->dpl); in svm_set_segment_register()

Completed in 51 milliseconds