Home
last modified time | relevance | path

Searched refs:selector (Results 1 – 18 of 18) sorted by relevance

/arch/x86/include/asm/
Dspecial_insns.h172 static inline void load_gs_index(unsigned selector) in load_gs_index() argument
174 native_load_gs_index(selector); in load_gs_index()
Dkvm_emulate.h167 bool (*get_segment)(struct x86_emulate_ctxt *ctxt, u16 *selector,
169 void (*set_segment)(struct x86_emulate_ctxt *ctxt, u16 selector,
Dkvm.h108 __u16 selector; member
Dsvm.h129 u16 selector; member
Dkvm_host.h769 int kvm_load_segment_descriptor(struct kvm_vcpu *vcpu, u16 selector, int seg);
/arch/x86/math-emu/
Dget_address.c131 addr->selector = VM86_REG_(segment); in vm86_segment()
155 addr->selector = get_user_gs(FPU_info->regs); in pm_address()
158 addr->selector = PM_REG_(segment); in pm_address()
223 addr->selector = FPU_DS; /* Default, for 32 bit non-segmented mode. */ in FPU_get_address()
307 addr->selector = FPU_DS; /* Default, for 32 bit non-segmented mode. */ in FPU_get_address_16()
Dfpu_aux.c45 oaddr->selector = 0; in finit_soft_fpu()
48 iaddr->selector = 0; in finit_soft_fpu()
Dreg_ld_str.c1042 FPU_get_user(instruction_address.selector, in fldenv()
1046 FPU_get_user(operand_address.selector, in fldenv()
1052 += (instruction_address.selector & 0xf000) << 4; in fldenv()
1054 (operand_address.selector & 0xf000) << 4; in fldenv()
1064 FPU_get_user(instruction_address.selector, in fldenv()
1070 FPU_get_user(operand_address.selector, in fldenv()
1167 FPU_put_user(instruction_address.selector, in fstenv()
1169 FPU_put_user(operand_address.selector, in fstenv()
Dfpu_emu.h113 unsigned int selector:16; member
Dfpu_entry.c281 entry_sel_off.selector = FPU_CS; in math_emulate()
512 operand_address.selector = FPU_DS; in math_emulate()
/arch/powerpc/include/asm/
Dpmac_feature.h146 static inline long pmac_call_feature(int selector, struct device_node* node, in pmac_call_feature() argument
151 return ppc_md.feature_call(selector, node, param, value); in pmac_call_feature()
301 extern long pmac_do_feature_call(unsigned int selector, ...);
/arch/arm/boot/dts/
Dtegra20.dtsi83 nvidia,dma-request-selector = < &apbdma 2 >;
90 nvidia,dma-request-selector = < &apbdma 1 >;
/arch/x86/kvm/
Demulate.c542 u16 selector; in get_segment_selector() local
545 ctxt->ops->get_segment(ctxt, &selector, &desc, NULL, seg); in get_segment_selector()
546 return selector; in get_segment_selector()
549 static void set_segment_selector(struct x86_emulate_ctxt *ctxt, u16 selector, in set_segment_selector() argument
557 ctxt->ops->set_segment(ctxt, selector, &desc, base3, seg); in set_segment_selector()
1172 u16 selector, struct desc_ptr *dt) in get_descriptor_table_ptr() argument
1176 if (selector & 1 << 2) { in get_descriptor_table_ptr()
1192 u16 selector, struct desc_struct *desc) in read_segment_descriptor() argument
1195 u16 index = selector >> 3; in read_segment_descriptor()
1198 get_descriptor_table_ptr(ctxt, selector, &dt); in read_segment_descriptor()
[all …]
Dvmx.c396 u16 selector; member
647 .selector = GUEST_##seg##_SELECTOR, \
654 unsigned selector; member
1132 u16 *p = &vmx->segment_cache.seg[seg].selector; in vmx_read_guest_seg_selector()
1135 *p = vmcs_read16(kvm_vmx_segment_fields[seg].selector); in vmx_read_guest_seg_selector()
1346 static unsigned long segment_base(u16 selector) in segment_base() argument
1353 if (!(selector & ~3)) in segment_base()
1358 if (selector & 4) { /* from ldt */ in segment_base()
1366 d = (struct desc_struct *)(table_base + (selector & ~7)); in segment_base()
2653 vmcs_write16(sf->selector, save->selector); in fix_pmode_dataseg()
[all …]
Dsvm.c931 seg->selector = 0; in init_seg()
940 seg->selector = 0; in init_sys_seg()
1121 save->cs.selector = 0xf000; in init_vmcb()
1192 svm->vmcb->save.cs.selector = svm->vcpu.arch.sipi_vector << 8; in svm_vcpu_reset()
1350 cpl = svm->vmcb->save.cs.selector & 0x3; in svm_update_cpl()
1423 var->selector = s->selector; in svm_get_segment()
1620 s->selector = var->selector; in svm_set_segment()
3363 save->es.selector, save->es.attrib, in dump_vmcb()
3367 save->cs.selector, save->cs.attrib, in dump_vmcb()
3371 save->ss.selector, save->ss.attrib, in dump_vmcb()
[all …]
Dx86.c4166 static bool emulator_get_segment(struct x86_emulate_ctxt *ctxt, u16 *selector, in emulator_get_segment() argument
4173 *selector = var.selector; in emulator_get_segment()
4198 static void emulator_set_segment(struct x86_emulate_ctxt *ctxt, u16 selector, in emulator_set_segment() argument
4205 var.selector = selector; in emulator_set_segment()
5753 sregs->cs.selector == 0xf000 && sregs->cs.base == 0xffff0000 && in kvm_arch_vcpu_ioctl_set_sregs()
/arch/mips/include/asm/octeon/
Dcvmx-mdio.h131 uint16_t selector:5; member
153 uint16_t selector:5; member
/arch/powerpc/platforms/powermac/
Dfeature.c123 unsigned int selector; member
2382 long pmac_do_feature_call(unsigned int selector, ...) in pmac_do_feature_call() argument
2392 if (pmac_mb.features[i].selector == selector) { in pmac_do_feature_call()
2398 if (any_features[i].selector == selector) { in pmac_do_feature_call()
2405 va_start(args, selector); in pmac_do_feature_call()