From patchwork Tue Apr 5 09:50:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 606380 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qfPSB0ZNMz9snl for ; Tue, 5 Apr 2016 19:58:18 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=P5IaoSzK; dkim-atps=neutral Received: from localhost ([::1]:35717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anNkW-0000sg-7p for incoming@patchwork.ozlabs.org; Tue, 05 Apr 2016 05:58:16 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=FifAKVM6gwt2dEpWy28QeA4HM8ejxYpVDfVIsrP5Jws=; b=P5IaoSzKT2aYRuEyCdQkQfrG/9IKqVZUiqBA0zmN3Me31IwfOPu33MghMUtcvqPUFv mgHnzeFUCJmNiLS7/EckstrFwIwmCYQgCNZAFIbjiUjxX38/UA5csqLT1nPiftYAnabs m9Xl1mSUAtfyMuISDVVTGdojkvkWmm7ZIJeLh1VIGZbkxdzJqs/1kdd0uhAaG0ABSJpK osivvfOP+9J7GInOHC8vqAEhba5SAdrC50diXqLKkSPzOO5Al7zvkgzYyqLd5OE6jwFh zh56xB37RuJtTmX1Xx01FeG/mKdB/NP9dcl+dbzghJra7oZ/CBc+xwcjCb1GvLEKpQRG GUMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=FifAKVM6gwt2dEpWy28QeA4HM8ejxYpVDfVIsrP5Jws=; b=YcqNBtjcevyAkqfWb/xkYk8TiDLyE4KQBkjJf39kSjGtzc0auuptE19Gxodj5KAcvY ixapIvazJ9cU48+g/AahLId39b3LjFGjz114tbUTiJwND6XDf5b+UVL2CfXeOirKS4TJ BZuliTk1+GksLd7C4J4fvjtElt/LOjsqpA8KPbcvYKfkhjFpI5snqQxhe6CXTL9RxNjP JohVnBWmc1i0MtkvsgmG8vXJs9UmxekunF9DYMHzRjPpEu1QFbbCfqbI9m/Hd2UyqElH dqpETGxpT+ICkO0sXVSBDPzZ7EB2xCvns5heZ2OEg3tfB7UCA4D3YMG250Xwqha0/1to b74w== X-Gm-Message-State: AD7BkJKZExLmUBYus+qPlyx28T4kkLdoJQQMX0AZlmoeRc/hhSVmqaS0qAu42VHPSGIifA== X-Received: by 10.28.91.83 with SMTP id p80mr17305042wmb.48.1459849834778; Tue, 05 Apr 2016 02:50:34 -0700 (PDT) Received: from donizetti.lan (94-39-141-76.adsl-ull.clienti.tiscali.it. [94.39.141.76]) by smtp.gmail.com with ESMTPSA id ka4sm33721377wjc.47.2016.04.05.02.50.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Apr 2016 02:50:34 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 5 Apr 2016 11:50:13 +0200 Message-Id: <1459849818-26649-11-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1459849818-26649-1-git-send-email-pbonzini@redhat.com> References: <1459849818-26649-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::242 Cc: Paolo Bonzini , Cao jin Subject: [Qemu-devel] [PULL 10/15] doc/memory: update MMIO section X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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).