Lines Matching refs:selector
4975 static bool emulator_get_segment(struct x86_emulate_ctxt *ctxt, u16 *selector,
4982 *selector = var.selector;
5011 static void emulator_set_segment(struct x86_emulate_ctxt *ctxt, u16 selector,
5018 var.selector = selector;
6285 put_smstate(u32, buf, 0x7fa8 + n * 4, seg.selector);
6308 put_smstate(u16, buf, offset, seg.selector);
6336 put_smstate(u32, buf, 0x7fc4, seg.selector);
6342 put_smstate(u32, buf, 0x7fc0, seg.selector);
6396 put_smstate(u16, buf, 0x7e90, seg.selector);
6406 put_smstate(u16, buf, 0x7e70, seg.selector);
6464 cs.selector = (vcpu->arch.smbase >> 4) & 0xffff;
6467 ds.selector = 0;
7278 sregs->cs.selector == 0xf000 && sregs->cs.base == 0xffff0000 &&
7561 cs.selector = vector << 8;