* [Qemu-devel] [PATCH, RFC 4/4] apb: use IO_MEM_BSWAP with device registration
@ 2010-05-23 20:34 Blue Swirl
0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2010-05-23 20:34 UTC (permalink / raw)
To: qemu-devel
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
---
hw/apb_pci.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/apb_pci.c b/hw/apb_pci.c
index fb23397..cfa198c 100644
--- a/hw/apb_pci.c
+++ b/hw/apb_pci.c
@@ -323,7 +323,7 @@ static void apb_register_mem(void *opaque,
pcibus_t addr, pcibus_t size, int mm)
APB_DPRINTF("%s: addr %" FMT_PCIBUS " size %" FMT_PCIBUS "mm %x\n",
__func__, addr, size, mm);
- cpu_register_physical_memory(addr + d->mem_base, size, mm);
+ cpu_register_physical_memory(addr + d->mem_base, size, mm | IO_MEM_BSWAP);
}
static void apb_unregister_mem(void *opaque, pcibus_t addr, pcibus_t size)
--
1.6.2.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-23 20:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-23 20:34 [Qemu-devel] [PATCH, RFC 4/4] apb: use IO_MEM_BSWAP with device registration Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).