aboutsummaryrefslogtreecommitdiff
path: root/translate-i386.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-08-21 23:25:21 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-08-21 23:25:21 +0000
commit2e255c6b9f05f78a7effc4d1246c8a420680b810 (patch)
treed625e0135002840792a12df47189d5193209d800 /translate-i386.c
parent3f3373166227b13e762e20d2fb51eadfa6a2d653 (diff)
faster and more accurate segment handling
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@373 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'translate-i386.c')
-rw-r--r--translate-i386.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/translate-i386.c b/translate-i386.c
index 0e72acf199..fd13adbe43 100644
--- a/translate-i386.c
+++ b/translate-i386.c
@@ -1544,7 +1544,8 @@ static void gen_setcc(DisasContext *s, int b)
}
}
-/* move T0 to seg_reg and compute if the CPU state may change */
+/* move T0 to seg_reg and compute if the CPU state may change. Never
+ call this function with seg_reg == R_CS */
static void gen_movl_seg_T0(DisasContext *s, int seg_reg, unsigned int cur_eip)
{
if (s->pe && !s->vm86)