OSDN Git Service

memory: Fix old_portio vs non-zero offset
authorRichard Henderson <rth@twiddle.net>
Wed, 10 Aug 2011 22:28:19 +0000 (15:28 -0700)
committerAvi Kivity <avi@redhat.com>
Mon, 22 Aug 2011 16:29:04 +0000 (19:29 +0300)
commit563ea489031375c53d3b94d74c56c42238e94914
tree76e868064b2c140715007f973e5c259e976c6df4
parenta5e1cbc80e88ed7d73b3fcb46053a3ba167293fc
memory: Fix old_portio vs non-zero offset

The legacy functions that we're wrapping expect that offset
to be included in the register.  Indeed, they generally
expect the absolute address and then mask off the "high" bits.

The FDC is the first converted device with a non-zero offset.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
memory.c