[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 09/24] omap_gpmc/nseries/tusb6010: convert to me
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] [PATCH 09/24] omap_gpmc/nseries/tusb6010: convert to memory API |
Date: |
Tue, 09 Aug 2011 11:56:08 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0 |
On 08/09/2011 11:44 AM, Avi Kivity wrote:
...isn't this just throwing away the warnings on bad-width accesses?
It is; will fix.
Reading the original code, it seems broken:
uint32_t omap_badwidth_read32(void *opaque, target_phys_addr_t addr)
{
uint32_t ret;
OMAP_32B_REG(addr);
cpu_physical_memory_read(addr, (void *) &ret, 4);
return ret;
}
The code issues a read from addr, but that is not the original address
used by the guest, since addresses are relative to the start of the
region (in both the old and new APIs), not to physical address start.
So I'll just set access size validity in the new code.
--
error compiling committee.c: too many arguments to function
- Re: [Qemu-devel] [PATCH 21/24] isa: add isa_address_space(), (continued)
- [Qemu-devel] [PATCH 05/24] arm_timer: convert to memory API, Avi Kivity, 2011/08/08
- [Qemu-devel] [PATCH 09/24] omap_gpmc/nseries/tusb6010: convert to memory API, Avi Kivity, 2011/08/08
- Re: [Qemu-devel] [PATCH 09/24] omap_gpmc/nseries/tusb6010: convert to memory API, Peter Maydell, 2011/08/08
- Re: [Qemu-devel] [PATCH 09/24] omap_gpmc/nseries/tusb6010: convert to memory API, Avi Kivity, 2011/08/09
- Re: [Qemu-devel] [PATCH 09/24] omap_gpmc/nseries/tusb6010: convert to memory API, Peter Maydell, 2011/08/09
- Re: [Qemu-devel] [PATCH 09/24] omap_gpmc/nseries/tusb6010: convert to memory API, Avi Kivity, 2011/08/09
- Re: [Qemu-devel] [PATCH 09/24] omap_gpmc/nseries/tusb6010: convert to memory API, Peter Maydell, 2011/08/09
- Re: [Qemu-devel] [PATCH 09/24] omap_gpmc/nseries/tusb6010: convert to memory API, Avi Kivity, 2011/08/09
- Re: [Qemu-devel] [PATCH 09/24] omap_gpmc/nseries/tusb6010: convert to memory API,
Avi Kivity <=
- [Qemu-devel] [PATCH v1.1 09/24] omap_gpmc/nseries/tusb6010: convert to memory API, Avi Kivity, 2011/08/09
- Re: [Qemu-devel] [PATCH v1.1 09/24] omap_gpmc/nseries/tusb6010: convert to memory API, Peter Maydell, 2011/08/09
- Re: [Qemu-devel] [PATCH v1.1 09/24] omap_gpmc/nseries/tusb6010: convert to memory API, Avi Kivity, 2011/08/09
- Re: [Qemu-devel] [PATCH v1.1 09/24] omap_gpmc/nseries/tusb6010: convert to memory API, Peter Maydell, 2011/08/09
- [Qemu-devel] [PATCH v1.2 09/24] omap_gpmc/nseries/tusb6010: convert to memory API, Avi Kivity, 2011/08/09
- Re: [Qemu-devel] [PATCH v1.1 09/24] omap_gpmc/nseries/tusb6010: convert to memory API, Avi Kivity, 2011/08/09
[Qemu-devel] [PATCH 18/24] versatile_pci: convert to memory API, Avi Kivity, 2011/08/08