From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anNd6-0003ax-Rj for qemu-devel@nongnu.org; Tue, 05 Apr 2016 05:50:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anNd5-0001Bb-Q7 for qemu-devel@nongnu.org; Tue, 05 Apr 2016 05:50:36 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:33292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anNd5-0001BK-CS for qemu-devel@nongnu.org; Tue, 05 Apr 2016 05:50:35 -0400 Received: by mail-wm0-x242.google.com with SMTP id i204so2688999wmd.0 for ; Tue, 05 Apr 2016 02:50:35 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 5 Apr 2016 11:50:13 +0200 Message-Id: <1459849818-26649-11-git-send-email-pbonzini@redhat.com> In-Reply-To: <1459849818-26649-1-git-send-email-pbonzini@redhat.com> References: <1459849818-26649-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 10/15] doc/memory: update MMIO section List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Cao jin From: Cao jin There is no memory_region_io(). And remove a stray '-'. Signed-off-by: Cao jin Message-Id: <1459507677-16662-1-git-send-email-caoj.fnst@cn.fujitsu.com> Signed-off-by: Paolo Bonzini --- docs/memory.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/memory.txt b/docs/memory.txt index 97134e1..f9272ca 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). -- 2.5.5