• Home
  • Raw
  • Download

Lines Matching refs:segs

725     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()
748 set_v8086_seg(&sregs->_gs, &env->segs[R_GS]); in hax_set_segments()
749 set_v8086_seg(&sregs->_ss, &env->segs[R_SS]); in hax_set_segments()
751 set_seg(&sregs->_cs, &env->segs[R_CS]); in hax_set_segments()
752 set_seg(&sregs->_ds, &env->segs[R_DS]); in hax_set_segments()
753 set_seg(&sregs->_es, &env->segs[R_ES]); in hax_set_segments()
754 set_seg(&sregs->_fs, &env->segs[R_FS]); in hax_set_segments()
755 set_seg(&sregs->_gs, &env->segs[R_GS]); in hax_set_segments()
756 set_seg(&sregs->_ss, &env->segs[R_SS]); in hax_set_segments()
790 hflags = (env->segs[R_CS].flags >> DESC_DPL_SHIFT) & HF_CPL_MASK; in hax_setup_qemu_emulator()
802 if ((hflags & HF_LMA_MASK) && (env->segs[R_CS].flags & DESC_L_MASK)) { in hax_setup_qemu_emulator()
805 hflags |= (env->segs[R_CS].flags & DESC_B_MASK) >> in hax_setup_qemu_emulator()
807 hflags |= (env->segs[R_SS].flags & DESC_B_MASK) >> in hax_setup_qemu_emulator()
814 hflags |= ((env->segs[R_DS].base | in hax_setup_qemu_emulator()
815 env->segs[R_ES].base | in hax_setup_qemu_emulator()
816 env->segs[R_SS].base) != 0) << in hax_setup_qemu_emulator()