[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC] [PATCH] TSS ljmp issues

From: malc
Subject: [Qemu-devel] [RFC] [PATCH] TSS ljmp issues
Date: Mon, 19 Jun 2006 22:29:18 +0400 (MSD)

QEMU does not correctly handle jumps to TSS segments, the code in
switch_tss loads new eflags, but cc_op is never set to CC_OP_EFLAGS.
The problem manifests itself when trying to run DJGPP binaries
compressed with UPX. It goes something like this:

                sub     esi, 0FFFFFFFCh
                adc     ebx, ebx

loc_169:                                ; CODE XREF: start+1B


Attachment: tss-ljmp-eflags.patch
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]