diff options
author | Brian Somers <brian@FreeBSD.org> | 2002-05-20 16:33:52 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2002-05-20 16:33:52 +0000 |
commit | f1b502532374e14fd01129927c0257d56822ba50 (patch) | |
tree | f1ade6967b89bcf58c0b1b9dbfd33bf34b7c3778 /x11/XFree86-4-libraries | |
parent | upgrade to 0.0.11 (diff) |
x86emu update for new BIOS's
Submitted by: Larry Rosenman <ler@lerctr.org>
PR: 37610
Notes
Notes:
svn path=/head/; revision=59537
Diffstat (limited to 'x11/XFree86-4-libraries')
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-decode.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-decode.c b/x11/XFree86-4-libraries/files/patch-decode.c new file mode 100644 index 000000000000..2725bf0862de --- /dev/null +++ b/x11/XFree86-4-libraries/files/patch-decode.c @@ -0,0 +1,35 @@ +--- extras/x86emu/src/x86emu/decode.c.orig Sat Jan 6 20:19:03 2001 ++++ extras/x86emu/src/x86emu/decode.c Mon May 20 02:02:34 2002 +@@ -734,6 +734,10 @@ + { + unsigned offset; + ++ if (M.x86.mode & SYSMODE_PREFIX_ADDR) { ++ u32* rp = decode_rm_long_register(rm); ++ return (*rp); ++ } + switch (rm) { + case 0: + DECODE_PRINTF("[BX+SI]"); +@@ -782,6 +786,10 @@ + int rm) + { + int displacement = (s8)fetch_byte_imm(); ++ if (M.x86.mode & SYSMODE_PREFIX_ADDR) { ++ u32* rp = decode_rm_long_register(rm); ++ return (*rp + displacement); ++ } + switch (rm) { + case 0: + DECODE_PRINTF2("%d[BX+SI]", displacement); +@@ -830,6 +838,10 @@ + int rm) + { + unsigned displacement = (u16)fetch_word_imm(); ++ if (M.x86.mode & SYSMODE_PREFIX_ADDR) { ++ u32* rp = decode_rm_long_register(rm); ++ return (*rp + displacement); ++ } + switch (rm) { + case 0: + DECODE_PRINTF2("%04x[BX+SI]", displacement); |