Home
last modified time | relevance | path

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

1234

/arch/x86/include/asm/
Dgsseg.h15 extern asmlinkage void asm_load_gs_index(u16 selector);
20 static inline void native_lkgs(unsigned int selector) in native_lkgs() argument
22 u16 sel = selector; in native_lkgs()
28 static inline void native_load_gs_index(unsigned int selector) in native_load_gs_index() argument
31 native_lkgs(selector); in native_load_gs_index()
36 asm_load_gs_index(selector); in native_load_gs_index()
55 static inline void load_gs_index(unsigned int selector) in load_gs_index() argument
58 native_load_gs_index(selector); in load_gs_index()
60 loadsegment(gs, selector); in load_gs_index()
Dfsgsbase.h79 unsigned short selector);
/arch/x86/math-emu/
Dget_address.c132 addr->selector = VM86_REG_(segment); in vm86_segment()
156 savesegment(gs, addr->selector); in pm_address()
159 addr->selector = PM_REG_(segment); in pm_address()
162 descriptor = FPU_get_ldt_descriptor(addr->selector); 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.c46 oaddr->selector = 0; in fpstate_init_soft()
49 iaddr->selector = 0; in fpstate_init_soft()
Dreg_ld_str.c1043 FPU_get_user(instruction_address.selector, in fldenv()
1047 FPU_get_user(operand_address.selector, in fldenv()
1053 += (instruction_address.selector & 0xf000) << 4; in fldenv()
1055 (operand_address.selector & 0xf000) << 4; in fldenv()
1065 FPU_get_user(instruction_address.selector, in fldenv()
1071 FPU_get_user(operand_address.selector, in fldenv()
1168 FPU_put_user(instruction_address.selector, in fstenv()
1170 FPU_put_user(operand_address.selector, in fstenv()
Dfpu_emu.h114 unsigned int selector:16; member
Dfpu_entry.c240 entry_sel_off.selector = FPU_CS; in math_emulate()
471 operand_address.selector = FPU_DS; in math_emulate()
/arch/x86/kvm/
Dsmm.c157 u32 *selector, int n) in enter_smm_save_seg_32() argument
162 *selector = seg.selector; in enter_smm_save_seg_32()
176 state->selector = seg.selector; in enter_smm_save_seg_64()
338 cs.selector = (vcpu->arch.smbase >> 4) & 0xffff; in enter_smm()
341 ds.selector = 0; in enter_smm()
393 u16 selector, int n) in rsm_load_seg_32() argument
397 desc.selector = selector; in rsm_load_seg_32()
413 desc.selector = state->selector; in rsm_load_seg_64()
Demulate.c630 u16 selector; in get_segment_selector() local
633 ctxt->ops->get_segment(ctxt, &selector, &desc, NULL, seg); in get_segment_selector()
634 return selector; in get_segment_selector()
637 static void set_segment_selector(struct x86_emulate_ctxt *ctxt, u16 selector, in set_segment_selector() argument
645 ctxt->ops->set_segment(ctxt, selector, &desc, base3, seg); in set_segment_selector()
784 u16 selector; in emulator_recalc_and_set_mode() local
805 if (!ctxt->ops->get_segment(ctxt, &selector, &cs, &base3, VCPU_SREG_CS)) in emulator_recalc_and_set_mode()
1475 u16 selector, struct desc_ptr *dt) in get_descriptor_table_ptr() argument
1480 if (selector & 1 << 2) { in get_descriptor_table_ptr()
1496 u16 selector, ulong *desc_addr_p) in get_descriptor_ptr() argument
[all …]
Dsmm.h72 u16 selector; member
Dkvm_emulate.h187 bool (*get_segment)(struct x86_emulate_ctxt *ctxt, u16 *selector,
189 void (*set_segment)(struct x86_emulate_ctxt *ctxt, u16 selector,
/arch/x86/hyperv/
Dhv_vtl.c131 input->vp_context.cs.selector = __KERNEL_CS; in hv_vtl_bringup_vcpu()
136 input->vp_context.ss.selector = __KERNEL_DS; in hv_vtl_bringup_vcpu()
142 input->vp_context.ldtr.selector = GDT_ENTRY_LDT * 8; in hv_vtl_bringup_vcpu()
148 input->vp_context.tr.selector = GDT_ENTRY_TSS * 8; in hv_vtl_bringup_vcpu()
Divm.c254 if (seg.selector) { \
257 seg.attrib = *(u16 *)(gdtr_base + seg.selector + 5); \
309 asm volatile("movl %%es, %%eax;" : "=a" (vmsa->es.selector)); in hv_snp_boot_ap()
312 asm volatile("movl %%cs, %%eax;" : "=a" (vmsa->cs.selector)); in hv_snp_boot_ap()
315 asm volatile("movl %%ss, %%eax;" : "=a" (vmsa->ss.selector)); in hv_snp_boot_ap()
318 asm volatile("movl %%ds, %%eax;" : "=a" (vmsa->ds.selector)); in hv_snp_boot_ap()
/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/arm64/boot/dts/rockchip/
Drk3368-evb-act8846.dts20 fcs,suspend-voltage-selector = <1>;
32 fcs,suspend-voltage-selector = <1>;
Drk3588s-rock-5a.dts157 fcs,suspend-voltage-selector = <1>;
174 fcs,suspend-voltage-selector = <1>;
195 fcs,suspend-voltage-selector = <1>;
Drk3399-evb.dts360 fcs,suspend-voltage-selector = <1>;
377 fcs,suspend-voltage-selector = <1>;
/arch/x86/kernel/
Dprocess_64.c212 unsigned short selector, in save_base_legacy() argument
215 if (likely(selector == 0)) { in save_base_legacy()
389 unsigned short selector) in x86_fsgsbase_read_task() argument
391 unsigned short idx = selector >> 3; in x86_fsgsbase_read_task()
394 if (likely((selector & SEGMENT_TI_MASK) == 0)) { in x86_fsgsbase_read_task()
/arch/arm/boot/dts/rockchip/
Drk3288-evb-act8846.dts36 fcs,suspend-voltage-selector = <1>;
48 fcs,suspend-voltage-selector = <1>;
Drk3288-firefly-reload-core.dtsi73 fcs,suspend-voltage-selector = <1>;
87 fcs,suspend-voltage-selector = <1>;
Drk3288-rock2-som.dtsi187 fcs,suspend-voltage-selector = <1>;
201 fcs,suspend-voltage-selector = <1>;
Drk3288-r89.dts135 fcs,suspend-voltage-selector = <1>;
149 fcs,suspend-voltage-selector = <1>;
Drk3288-miqi.dts142 fcs,suspend-voltage-selector = <1>;
156 fcs,suspend-voltage-selector = <1>;
/arch/x86/kvm/vmx/
Dvmx.c499 .selector = GUEST_##seg##_SELECTOR, \
506 unsigned selector; member
849 u16 *p = &vmx->segment_cache.seg[seg].selector; in vmx_read_guest_seg_selector()
852 *p = vmcs_read16(kvm_vmx_segment_fields[seg].selector); in vmx_read_guest_seg_selector()
1166 static unsigned long segment_base(u16 selector) in segment_base() argument
1171 if (!(selector & ~SEGMENT_RPL_MASK)) in segment_base()
1176 if ((selector & SEGMENT_TI_MASK) == SEGMENT_LDT) { in segment_base()
1184 v = get_desc_base(&table[selector >> 3]); in segment_base()
2997 save->selector &= ~SEGMENT_RPL_MASK; in fix_pmode_seg()
2998 save->dpl = save->selector & SEGMENT_RPL_MASK; in fix_pmode_seg()
[all …]
/arch/x86/kvm/svm/
Dsvm.c1149 seg->selector = 0; in init_seg()
1158 seg->selector = 0; in init_sys_seg()
1329 save->cs.selector = 0xf000; in init_vmcb()
1741 var->selector = s->selector; in svm_get_segment()
1969 s->selector = var->selector; in svm_set_segment()
3391 save->es.selector, save->es.attrib, in dump_vmcb()
3395 save->cs.selector, save->cs.attrib, in dump_vmcb()
3399 save->ss.selector, save->ss.attrib, in dump_vmcb()
3403 save->ds.selector, save->ds.attrib, in dump_vmcb()
3407 save01->fs.selector, save01->fs.attrib, in dump_vmcb()
[all …]

1234