Home
last modified time | relevance | path

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

/arch/ia64/ia32/
Dia32_support.c37 load_desc (u16 selector) in load_desc() argument
41 if (!selector) in load_desc()
43 if (selector & IA32_SEGSEL_TI) { in load_desc()
50 index = selector >> IA32_SEGSEL_INDEX_SHIFT; in load_desc()
/arch/x86/math-emu/
Dget_address.c131 addr->selector = VM86_REG_(segment); in vm86_segment()
157 savesegment(gs, addr->selector); in pm_address()
160 addr->selector = PM_REG_(segment); in pm_address()
225 addr->selector = FPU_DS; /* Default, for 32 bit non-segmented mode. */ in FPU_get_address()
309 addr->selector = FPU_DS; /* Default, for 32 bit non-segmented mode. */ in FPU_get_address_16()
Dfpu_aux.c45 oaddr->selector = 0; in finit_task()
48 iaddr->selector = 0; in finit_task()
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.c280 entry_sel_off.selector = FPU_CS; in math_emulate()
511 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/x86/kvm/
Dvmx.c138 .selector = GUEST_##seg##_SELECTOR, \
145 unsigned selector; member
1313 vmcs_write16(sf->selector, save->selector); in fix_pmode_dataseg()
1318 u32 dpl = (vmcs_read16(sf->selector) & SELECTOR_RPL_MASK) in fix_pmode_dataseg()
1376 save->selector = vmcs_read16(sf->selector); in fix_rmode_seg()
1380 vmcs_write16(sf->selector, save->base >> 4); in fix_rmode_seg()
1654 var->selector = vmcs_read16(sf->selector); in vmx_get_segment()
1680 return kvm_seg.selector & 3; in vmx_get_cpl()
1712 vcpu->arch.rmode.tr.selector = var->selector; in vmx_set_segment()
1720 vmcs_write16(sf->selector, var->selector); in vmx_set_segment()
[all …]
Dx86.c114 unsigned long segment_base(u16 selector) in segment_base() argument
121 if (selector == 0) in segment_base()
127 if (selector & 4) { /* from ldt */ in segment_base()
133 d = (struct desc_struct *)(table_base + (selector & ~7)); in segment_base()
3328 static void seg_desct_to_kvm_desct(struct desc_struct *seg_desc, u16 selector, in seg_desct_to_kvm_desct() argument
3340 kvm_desct->selector = selector; in seg_desct_to_kvm_desct()
3349 if (!selector) in seg_desct_to_kvm_desct()
3357 u16 selector, in get_segment_descriptor_dtable() argument
3360 if (selector & 1 << 2) { in get_segment_descriptor_dtable()
3376 static int load_guest_segment_descriptor(struct kvm_vcpu *vcpu, u16 selector, in load_guest_segment_descriptor() argument
[all …]
Dsvm.c463 seg->selector = 0; in init_seg()
472 seg->selector = 0; in init_sys_seg()
543 save->cs.selector = 0xf000; in init_vmcb()
605 svm->vmcb->save.cs.selector = svm->vcpu.arch.sipi_vector << 8; in svm_vcpu_reset()
753 var->selector = s->selector; in svm_get_segment()
888 s->selector = var->selector; in svm_set_segment()
Dx86_emulate.c1584 c->dst.val = segreg.selector; in x86_emulate_insn()
/arch/x86/include/asm/
Dkvm_host.h315 u16 selector; member
565 int kvm_load_segment_descriptor(struct kvm_vcpu *vcpu, u16 selector,
601 unsigned long segment_base(u16 selector);
Dkvm.h98 __u16 selector; member
Dsvm.h118 u16 selector; member
/arch/x86/kernel/
Dvmi_32.c64 void (*_set_ldt)(u32 selector);
65 void (*set_tr)(u32 selector);
69 void (*set_kernel_stack)(u32 selector, u32 sp0);
/arch/powerpc/platforms/powermac/
Dfeature.c120 unsigned int selector; member
2375 long pmac_do_feature_call(unsigned int selector, ...) in pmac_do_feature_call() argument
2385 if (pmac_mb.features[i].selector == selector) { in pmac_do_feature_call()
2391 if (any_features[i].selector == selector) { in pmac_do_feature_call()
2398 va_start(args, selector); in pmac_do_feature_call()