xserver-multidpi/hw
Luc Verhaegen cc2c73ddcb x86emu: fix jump_near_IMM to handle DATA: flag correctly.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=24348

Before (data flag ignored -> broken):
66                  DATA:
e944f1              JMP       1ff6

After (fixed):
66                  DATA:
e944f1ffff          JMP       00001ff8

This subtle difference in the length of decoded instruction meant
that the VBE call jumped to the routine setting AX=0x14F (VBE Failed)
instead of the routine that set AX=0x4F (VBE success).

The ability to run the same code in vm86 significantly aided the
debugging of this issue. Those X.org developers who would like to drop
vm86 better take special care towards _all_ vesa bugs, as those will
expose further issues.

Patch applies easily to even xserver 1.4.2.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
Tested-by: Luc Verhaegen <libv@skynet.be>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-11-10 14:56:57 -08:00
..
dmx xserver: delete pervasively use of DISPATCH_PROC 2010-09-28 16:45:05 +03:00
kdrive KDrive: Fix error handlig in tslib driver 2010-10-22 13:36:10 +10:00
vfb Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xfree86 x86emu: fix jump_near_IMM to handle DATA: flag correctly. 2010-11-10 14:56:57 -08:00
xnest xnest: Replace use of Colormap->devPriv with standard devPrivates. 2010-09-13 15:55:17 -07:00
xquartz XQuartz: RandR: Refactor legacy mode-switching to be better integrated with RandR 2010-09-28 10:09:11 -07:00
xwin Cygwin/X: Move duplicate extern variable declarations from various .c files to a new header file 2010-10-19 15:02:00 +01:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00