aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCao jin <caoj.fnst@cn.fujitsu.com>2016-04-01 18:47:57 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2016-04-05 11:46:52 +0200
commit0c52a80eeb1d50c01977a295f2697528bb60184b (patch)
treebe87df540cc47927af132a8dea040053fbee8167 /docs
parent64c800f808748522727847b9cdc73412f22dffb9 (diff)
doc/memory: update MMIO section
There is no memory_region_io(). And remove a stray '-'. Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com> Message-Id: <1459507677-16662-1-git-send-email-caoj.fnst@cn.fujitsu.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/memory.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/memory.txt b/docs/memory.txt
index 97134e14c7..f9272ca969 100644
--- a/docs/memory.txt
+++ b/docs/memory.txt
@@ -37,8 +37,8 @@ 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
- structure describing the callbacks.
+ 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
a region of host memory), but like MMIO for writes (invoking a callback).