]> Git Repo - qemu.git/commit
i386: hvf: Don't miss 16-bit displacement
authorRoman Bolshakov <[email protected]>
Fri, 25 Jan 2019 15:47:43 +0000 (18:47 +0300)
committerPaolo Bonzini <[email protected]>
Tue, 5 Feb 2019 15:50:18 +0000 (16:50 +0100)
commit1edead0f72acc146298c3d4913a7705b2c4a1baa
treeaac6e77c39f278f570a82568903ed0d938327277
parentdce5874fc70fe8a50e4dab9f6b105e84768cae07
i386: hvf: Don't miss 16-bit displacement

In 16-bit addressing mode, when Mod = 0 and R/M = 6, decoded displacement
doesn't reach decode_linear_addr and gets lost. Instructions that
involve the combination of ModRM always get a pointer with zero offset
from the beginning of DS segment.

The change fixes drawing in F-BIRD from day 1 of '18 advent calendar.

Signed-off-by: Roman Bolshakov <[email protected]>
Message-Id: <20190125154743[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
target/i386/hvf/x86_decode.c
This page took 0.02895 seconds and 4 git commands to generate.