memory: crack wide ioport accesses into smaller ones when needed
authorAvi Kivity <avi@redhat.com>
Thu, 11 Aug 2011 07:40:26 +0000 (10:40 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Sun, 21 Aug 2011 23:27:33 +0000 (18:27 -0500)
commitad6c96a6477f7d0172753e5e058951aa1c8b86f3
treed79758caafc58a68c4b3a3c1bb882eca7553d6f6
parent44b3b3557c4f2ad0b577e9f8e1359cdd83f1ab59
memory: crack wide ioport accesses into smaller ones when needed

The memory API supports cracking wide accesses into narrower ones
when needed; but this was no implemented for the pio address space,
causing lsi53c895a's IO BAR to malfunction.

Fix by correctly cracking wide accesses when needed.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
memory.c