[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] doc/memory: update MMIO section
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] doc/memory: update MMIO section |
Date: |
Fri, 1 Apr 2016 12:47:35 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
On 01/04/2016 12:47, Cao jin wrote:
> There is no memory_region_io(). And remove a stray '-'.
>
> Signed-off-by: Cao jin <address@hidden>
> ---
> docs/memory.txt | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/docs/memory.txt b/docs/memory.txt
> index 97134e1..fddc0d9 100644
> --- a/docs/memory.txt
> +++ b/docs/memory.txt
> @@ -37,7 +37,7 @@ MemoryRegion):
>
> - MMIO: a range of guest memory that is implemented by host callbacks;
> each read or write causes a callback to be called on the host.
> - You initialize these with memory_region_io(), passing it a MemoryRegionOps
> + You initialize these with memory_region_init_io(), passing it a
> MemoryRegionOps
> structure describing the callbacks.
>
> - ROM: a ROM memory region works like RAM for reads (directly accessing
> @@ -186,7 +186,7 @@ of its own subregions: D of size 0x1000 at offset 0 and E
> of size 0x1000 at
> offset 0x2000. As a diagram:
>
> 0 1000 2000 3000 4000 5000 6000 7000 8000
> - |------|------|------|------|------|------|------|-------|
> + |------|------|------|------|------|------|------|------|
> A: [ ]
> C: [CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC]
> B: [ ]
>
Queued for 2.6, thanks.
Paolo