VMM: Decoder hack
authorMichael Taufen <mtaufen@gmail.com>
Wed, 4 May 2016 18:01:08 +0000 (11:01 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 13 May 2016 14:42:56 +0000 (10:42 -0400)
commit3a9757807efe8568b3ba042ccccf09f05f8ca12a
tree5ec65cc9f6a01ea6b586bb1a1bb77e773e535b4c
parent96de8d7d8b73c2ba724256e146d24293c2717927
VMM: Decoder hack

This dirty hack makes the decoder return 4 bytes as the target size for
certain mov instructions, so that virtio mmio device doesn't think the
guest is using the wrong access width when reading/writing the
memory-mapped region.

Signed-off-by: Michael Taufen <mtaufen@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/vmm/decode.c