summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2005-03-04 22:08:55 +0000
committerLi-Ta Lo <ollie@lanl.gov>2005-03-04 22:08:55 +0000
commit6c4c07d4b3a0e9d60fec8c4b9f753514da367087 (patch)
tree98451f8854f2ad41b76361677754bb4503c24936 /src/devices
parentbe977a14d18e4bda743a9cda25d3d76dfdfaad97 (diff)
downloadcoreboot-6c4c07d4b3a0e9d60fec8c4b9f753514da367087.tar.xz
fixed a bug cause failure on some expensive VGA cards
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1918 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/emulator/x86emu/ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/emulator/x86emu/ops.c b/src/devices/emulator/x86emu/ops.c
index 5666dea40a..2534b65863 100644
--- a/src/devices/emulator/x86emu/ops.c
+++ b/src/devices/emulator/x86emu/ops.c
@@ -2227,7 +2227,7 @@ void x86emuOp_xchg_word_AX_register(u8 X86EMU_UNUSED(op1))
DECODE_PRINTF("\n");
TRACE_AND_STEP();
tmp = M.x86.R_AX;
- M.x86.R_EAX = *reg16;
+ M.x86.R_AX = *reg16;
*reg16 = (u16)tmp;
}
DECODE_CLEAR_SEGOVR();