Home
last modified time | relevance | path

Searched refs:segs (Results 1 – 23 of 23) sorted by relevance

/external/qemu/target-i386/
Dkvm.c396 set_v8086_seg(&sregs.cs, &env->segs[R_CS]); in kvm_put_sregs()
397 set_v8086_seg(&sregs.ds, &env->segs[R_DS]); in kvm_put_sregs()
398 set_v8086_seg(&sregs.es, &env->segs[R_ES]); in kvm_put_sregs()
399 set_v8086_seg(&sregs.fs, &env->segs[R_FS]); in kvm_put_sregs()
400 set_v8086_seg(&sregs.gs, &env->segs[R_GS]); in kvm_put_sregs()
401 set_v8086_seg(&sregs.ss, &env->segs[R_SS]); in kvm_put_sregs()
403 set_seg(&sregs.cs, &env->segs[R_CS]); in kvm_put_sregs()
404 set_seg(&sregs.ds, &env->segs[R_DS]); in kvm_put_sregs()
405 set_seg(&sregs.es, &env->segs[R_ES]); in kvm_put_sregs()
406 set_seg(&sregs.fs, &env->segs[R_FS]); in kvm_put_sregs()
[all …]
Dhax-all.c725 get_seg(&env->segs[R_CS], &sregs->_cs); in hax_get_segments()
726 get_seg(&env->segs[R_DS], &sregs->_ds); in hax_get_segments()
727 get_seg(&env->segs[R_ES], &sregs->_es); in hax_get_segments()
728 get_seg(&env->segs[R_FS], &sregs->_fs); in hax_get_segments()
729 get_seg(&env->segs[R_GS], &sregs->_gs); in hax_get_segments()
730 get_seg(&env->segs[R_SS], &sregs->_ss); in hax_get_segments()
744 set_v8086_seg(&sregs->_cs, &env->segs[R_CS]); in hax_set_segments()
745 set_v8086_seg(&sregs->_ds, &env->segs[R_DS]); in hax_set_segments()
746 set_v8086_seg(&sregs->_es, &env->segs[R_ES]); in hax_set_segments()
747 set_v8086_seg(&sregs->_fs, &env->segs[R_FS]); in hax_set_segments()
[all …]
Dop_helper.c390 stw_kernel(env->tr.base + (0x48 + i * 4), env->segs[i].selector); in switch_tss()
404 stw_kernel(env->tr.base + (0x22 + i * 4), env->segs[i].selector); in switch_tss()
503 if (new_eip > env->segs[R_CS].limit) { in switch_tss()
695 if (env->segs[R_SS].flags & DESC_B_MASK) in do_interrupt_protected()
700 ssp = env->segs[R_SS].base + esp; in do_interrupt_protected()
765 sp_mask = get_sp_mask(env->segs[R_SS].flags); in do_interrupt_protected()
766 ssp = env->segs[R_SS].base; in do_interrupt_protected()
789 PUSHL(ssp, esp, sp_mask, env->segs[R_GS].selector); in do_interrupt_protected()
790 PUSHL(ssp, esp, sp_mask, env->segs[R_FS].selector); in do_interrupt_protected()
791 PUSHL(ssp, esp, sp_mask, env->segs[R_DS].selector); in do_interrupt_protected()
[all …]
Dcpu.h584 SegmentCache segs[6]; /* selector values */ member
724 sc = &env->segs[seg_reg]; in cpu_x86_load_seg_cache()
742 new_hflags = (env->segs[R_CS].flags & DESC_B_MASK) in cpu_x86_load_seg_cache()
748 new_hflags = (env->segs[R_SS].flags & DESC_B_MASK) in cpu_x86_load_seg_cache()
762 new_hflags |= ((env->segs[R_DS].base | in cpu_x86_load_seg_cache()
763 env->segs[R_ES].base | in cpu_x86_load_seg_cache()
764 env->segs[R_SS].base) != 0) << in cpu_x86_load_seg_cache()
913 *cs_base = env->segs[R_CS].base; in cpu_get_tb_cpu_state()
Dmachine.c82 cpu_put_seg(f, &env->segs[i]); in cpu_save()
264 cpu_get_seg(f, &env->segs[i]); in cpu_load()
Dtranslate.c475 tcg_gen_ld32u_tl(cpu_A0, cpu_env, offsetof(CPUState, segs[reg].base) + REG_L_OFFSET); in gen_op_movl_A0_seg()
480 tcg_gen_ld_tl(cpu_tmp0, cpu_env, offsetof(CPUState, segs[reg].base)); in gen_op_addl_A0_seg()
490 tcg_gen_ld_tl(cpu_A0, cpu_env, offsetof(CPUState, segs[reg].base)); in gen_op_movq_A0_seg()
495 tcg_gen_ld_tl(cpu_tmp0, cpu_env, offsetof(CPUState, segs[reg].base)); in gen_op_addq_A0_seg()
2373 offsetof(CPUX86State,segs[seg_reg].selector)); in gen_op_movl_T0_seg()
2380 offsetof(CPUX86State,segs[seg_reg].selector)); in gen_op_movl_seg_T0_vm()
2383 offsetof(CPUX86State,segs[seg_reg].base)); in gen_op_movl_seg_T0_vm()
7182 tcg_gen_ld_tl(cpu_T[0], cpu_env, offsetof(CPUX86State,segs[R_GS].base)); in disas_insn()
7184 tcg_gen_st_tl(cpu_T[1], cpu_env, offsetof(CPUX86State,segs[R_GS].base)); in disas_insn()
Dhelper.c740 &env->segs[i]); in cpu_dump_state()
/external/srec/srec/EventLog/src/
Driff.c304 if (swichunk->segs.num_tuples) in free_swiRiff()
306 FREE(swichunk->segs.tuples); in free_swiRiff()
307 swichunk->segs.num_tuples = 0; in free_swiRiff()
462 swichunk->segs.num_tuples = 0; in readSwiChunk()
472 fread(&swichunk->segs.num_tuples, 1, sizeof(int), f); in readSwiChunk()
473 if (doSwap) swapInt(&swichunk->segs.num_tuples); in readSwiChunk()
478 swichunk->segs.tuples = MALLOC(sub_length, MTAG); in readSwiChunk()
479 if (!swichunk->segs.tuples) in readSwiChunk()
481 swichunk->segs.num_tuples = 0; /* so that the free routine will work */ in readSwiChunk()
484 else if (fread(swichunk->segs.tuples, 1, sub_length, f) != (size_t)sub_length) in readSwiChunk()
[all …]
/external/qemu/
Dkqemu.c712 kqemu_load_seg(&kenv->segs[i], &env->segs[i]); in kqemu_cpu_exec()
782 kqemu_save_seg(&env->segs[i], &kenv->segs[i]); in kqemu_cpu_exec()
826 (env->segs[R_CS].flags & DESC_L_MASK)) { in kqemu_cpu_exec()
833 new_hflags = (env->segs[R_CS].flags & DESC_B_MASK) in kqemu_cpu_exec()
835 new_hflags |= (env->segs[R_SS].flags & DESC_B_MASK) in kqemu_cpu_exec()
847 new_hflags |= ((env->segs[R_DS].base | in kqemu_cpu_exec()
848 env->segs[R_ES].base | in kqemu_cpu_exec()
849 env->segs[R_SS].base) != 0) << in kqemu_cpu_exec()
902 unsigned long pc = env->eip + env->segs[R_CS].base; in kqemu_cpu_exec()
Dkqemu.h49 struct kqemu_segment_cache segs[6]; /* selector values */ member
Dgdbstub.c539 case 2: GET_REG32(env->segs[R_CS].selector); in cpu_gdb_read_register()
540 case 3: GET_REG32(env->segs[R_SS].selector); in cpu_gdb_read_register()
541 case 4: GET_REG32(env->segs[R_DS].selector); in cpu_gdb_read_register()
542 case 5: GET_REG32(env->segs[R_ES].selector); in cpu_gdb_read_register()
543 case 6: GET_REG32(env->segs[R_FS].selector); in cpu_gdb_read_register()
544 case 7: GET_REG32(env->segs[R_GS].selector); in cpu_gdb_read_register()
591 if (tmp != env->segs[sreg].selector)\ in cpu_gdb_write_register()
Dmonitor.c408 env->eip + env->segs[R_CS].base); in do_info_cpus()
661 (env->segs[R_CS].flags & DESC_L_MASK)) in memory_dump()
665 if (!(env->segs[R_CS].flags & DESC_B_MASK)) in memory_dump()
1771 return env->eip + env->segs[R_CS].base; in monitor_get_pc()
1857 { name, offsetof(CPUState, segs[seg].selector), NULL, MD_I32 },\
1858 { name ".base", offsetof(CPUState, segs[seg].base) },\
1859 { name ".limit", offsetof(CPUState, segs[seg].limit), NULL, MD_I32 },
Delf.h1213 struct elf32_fdpic_loadseg segs[/*nsegs*/]; member
Dexec.c1062 cpu_single_env->eip + (long)cpu_single_env->segs[R_CS].base); in tb_invalidate_phys_page_fast()
/external/srec/srec/EventLog/include/
Driff.h204 SwiRiffAudio segs; member
/external/icu4c/i18n/
Drbt_rule.h184 UnicodeFunctor** segs,
Drbt_rule.cpp59 UnicodeFunctor** segs, in TransliterationRule() argument
104 this->segments = segs; in TransliterationRule()
/external/skia/samplecode/
DSamplePatch.cpp80 static void eval_patch_edge(const SkPoint cubic[], SkPoint samples[], int segs) { in eval_patch_edge() argument
82 SkScalar dt = SK_Scalar1 / segs; in eval_patch_edge()
85 for (int i = 1; i < segs; i++) { in eval_patch_edge()
/external/qemu/hw/
Dpc.c520 uint32_t gpr[8], uint16_t segs[6], uint16_t ip) in generate_bootsect()
566 *p++ = segs[i]; in generate_bootsect()
567 *p++ = segs[i] >> 8; in generate_bootsect()
584 *p++ = segs[1]; /* CS */ in generate_bootsect()
585 *p++ = segs[1] >> 8; in generate_bootsect()
/external/gtest/scripts/
Dpump.py728 segs = [seg for seg in re.split(r'(\w+\W*)', comment) if seg != '']
730 for seg in segs:
748 segs = [seg for seg in re.split(r'([^,;]+[,;]?)', line.strip()) if seg != '']
750 for seg in segs:
/external/chromium/testing/gtest/scripts/
Dpump.py728 segs = [seg for seg in re.split(r'(\w+\W*)', comment) if seg != '']
730 for seg in segs:
748 segs = [seg for seg in re.split(r'([^,;]+[,;]?)', line.strip()) if seg != '']
750 for seg in segs:
/external/valgrind/main/exp-sgcheck/
Dh_main.c152 Seg segs[N_SEGS_PER_GROUP]; member
185 teg = &group_list->segs[ group_list->nextfree ]; in new_Seg()
/external/valgrind/main/docs/internals/
D3_2_BUGSTATUS.txt220 XXX increase #segs and #segnames from 5000/1000 ?