[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API |
Date: |
Tue, 28 Jun 2011 14:25:54 +0100 |
On 28 June 2011 13:09, Avi Kivity <address@hidden> wrote:
> Okay, let's make t_p_a_t max(bus size in system).
If you want a type for that, can't you give it a sensible (ie
different) name? target_phys_addr_t is pretty clearly "the type
of a physical address for this target" and having it actually
be something else is just going to be confusing.
> Do we have 32-bit targets
> that don't support pci (I guess, pc-isa with cpu < ppro?). Do we want to
> support a 32-bit variant of pci? It certainly existed at some point.
As a thought experiment, you could take an existing 32 bit
target and define a new board model that happens to have eg a
new pci controller on it. It doesn't seem right that that
should cause the system's idea of this type width to change,
it's just a new device model and board. So if you have this
type I think it ought to be max(bus size of widest bus qemu
supports).
-- PMM
- Re: [Qemu-devel] [RFC v2 03/20] memory: merge adjacent segments of a single memory region, (continued)
- [Qemu-devel] [RFC v2 04/20] Internal interfaces for memory API, Avi Kivity, 2011/06/27
- [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Avi Kivity, 2011/06/27
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Michael S. Tsirkin, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Jan Kiszka, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Avi Kivity, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Jan Kiszka, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Avi Kivity, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Jan Kiszka, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Avi Kivity, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API,
Peter Maydell <=
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Avi Kivity, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Olivier Galibert, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Avi Kivity, 2011/06/28
[Qemu-devel] [RFC v2 11/20] sysbus: add MemoryRegion based memory management API, Avi Kivity, 2011/06/27
[Qemu-devel] [RFC v2 13/20] pci: add API to get a BAR's mapped address, Avi Kivity, 2011/06/27
[Qemu-devel] [RFC v2 10/20] pci: add MemoryRegion based BAR management API, Avi Kivity, 2011/06/27
Re: [Qemu-devel] [RFC v2 00/20] Memory API, Avi Kivity, 2011/06/27