[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH, RFC 4/4] apb: use IO_MEM_BSWAP with device registra
From: |
Blue Swirl |
Subject: |
[Qemu-devel] [PATCH, RFC 4/4] apb: use IO_MEM_BSWAP with device registration |
Date: |
Sun, 23 May 2010 20:34:55 +0000 |
Signed-off-by: Blue Swirl <address@hidden>
---
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH, RFC 4/4] apb: use IO_MEM_BSWAP with device registration,
Blue Swirl <=