diff options
author | brian <brian@FreeBSD.org> | 2002-05-21 00:33:52 +0800 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2002-05-21 00:33:52 +0800 |
commit | 8e74d03f7841ebcf0961abdd0ea0ea67841f1586 (patch) | |
tree | f1d2a86578f6b64213a6d23be9d3bf49e565dd57 /x11 | |
parent | 0173d6f34236c5aa3d5ea346f25501d1092254b4 (diff) | |
download | freebsd-ports-gnome-8e74d03f7841ebcf0961abdd0ea0ea67841f1586.tar.gz freebsd-ports-gnome-8e74d03f7841ebcf0961abdd0ea0ea67841f1586.tar.zst freebsd-ports-gnome-8e74d03f7841ebcf0961abdd0ea0ea67841f1586.zip |
x86emu update for new BIOS's
Submitted by: Larry Rosenman <ler@lerctr.org>
PR: 37610
Diffstat (limited to 'x11')
-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); |