From patchwork Tue Mar 10 18:22:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 45605 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 968CE214C2 for ; Tue, 10 Mar 2015 18:23:37 +0000 (UTC) Received: by lbvp9 with SMTP id p9sf2897215lbv.0 for ; Tue, 10 Mar 2015 11:23:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding:cc :subject:precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=H/xSraKuNvxvIEr2C82JUzFCWhxjChc0AF+cYRNld5w=; b=hmA1N/AJ0FSGtjO/+BkYUexdi420ctYfGf9oASJoIL6gRir1qYLc10hH4Sgq1/bXiv pNMpxEPRJFItc3n5qojRDwAkhfCv1zMukw+/PSPWqD+vtM4XosyhWXcoELKg9NAmOYyA Uddbf1MOrx/krdehmz2qMFETrVJsFt3VqKdZgCBbiwFXJsEcDu2IYlGSKNIR1VKVDTRP rxhQqEW0e3/bpVG7vu7fqU3OmCb5rwFA3jrt7ydoY9BM/R+AHZPC9QMELWsIw8ozpTSi 3wp78p3663wJctzSV1D9dk99kn3qcDTsFM/CcTep/iC5cweLYtF0/va3GlsHd10FTqeY qg4A== X-Gm-Message-State: ALoCoQnpk4UTcCZEq5YCjX+qT7R7VqkKrKuu3xmkqXvoXzq4but6IHoXMnqsZdmzf5zPpJSvSFDh X-Received: by 10.180.90.175 with SMTP id bx15mr1609382wib.3.1426011816605; Tue, 10 Mar 2015 11:23:36 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.170.164 with SMTP id an4ls66119lac.19.gmail; Tue, 10 Mar 2015 11:23:36 -0700 (PDT) X-Received: by 10.112.134.167 with SMTP id pl7mr31035849lbb.63.1426011816442; Tue, 10 Mar 2015 11:23:36 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id b17si858278lbo.82.2015.03.10.11.23.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Mar 2015 11:23:36 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by labgq15 with SMTP id gq15so3706301lab.1 for ; Tue, 10 Mar 2015 11:23:36 -0700 (PDT) X-Received: by 10.152.22.67 with SMTP id b3mr30875266laf.117.1426011815692; Tue, 10 Mar 2015 11:23:35 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp2305246lbj; Tue, 10 Mar 2015 11:23:35 -0700 (PDT) X-Received: by 10.140.217.200 with SMTP id n191mr43234458qhb.29.1426011814083; Tue, 10 Mar 2015 11:23:34 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id b4si1192259qka.54.2015.03.10.11.23.33 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Mar 2015 11:23:34 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:50877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVOoX-0006Sl-50 for patch@linaro.org; Tue, 10 Mar 2015 14:23:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVOnT-0005L6-6y for qemu-devel@nongnu.org; Tue, 10 Mar 2015 14:22:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVOnO-0002ep-WD for qemu-devel@nongnu.org; Tue, 10 Mar 2015 14:22:27 -0400 Received: from cantor2.suse.de ([195.135.220.15]:55099 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVOnO-0002eV-Pm for qemu-devel@nongnu.org; Tue, 10 Mar 2015 14:22:22 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 02431ACAA; Tue, 10 Mar 2015 18:22:22 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: qemu-devel@nongnu.org Date: Tue, 10 Mar 2015 19:22:15 +0100 Message-Id: <1426011740-17688-2-git-send-email-afaerber@suse.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1426011740-17688-1-git-send-email-afaerber@suse.de> References: <1426011740-17688-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 Cc: Peter Maydell , =?UTF-8?q?Andreas=20F=C3=A4rber?= Subject: [Qemu-devel] [PULL 1/6] cpu: Add missing documentation for some CPUClass methods 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: afaerber@suse.de X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Peter Maydell The CPUClass QOM methods virtio_is_big_endian, write_elf{32,64}_note and write_elf{32,64}_qemunote were added without any description being added to the doc comment. Correct this omission. Signed-off-by: Peter Maydell Acked-by: Greg Kurz Signed-off-by: Andreas Färber --- include/qom/cpu.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/qom/cpu.h b/include/qom/cpu.h index 48fd6fb..d6279c0 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -82,6 +82,10 @@ struct TranslationBlock; * @do_unassigned_access: Callback for unassigned access handling. * @do_unaligned_access: Callback for unaligned access handling, if * the target defines #ALIGNED_ONLY. + * @virtio_is_big_endian: Callback to return %true if a CPU which supports + * runtime configurable endianness is currently big-endian. Non-configurable + * CPUs can use the default implementation of this method. This method should + * not be used by any callers other than the pre-1.0 virtio devices. * @memory_rw_debug: Callback for GDB memory access. * @dump_state: Callback for dumping state. * @dump_statistics: Callback for dumping statistics. @@ -96,6 +100,14 @@ struct TranslationBlock; * @gdb_read_register: Callback for letting GDB read a register. * @gdb_write_register: Callback for letting GDB write a register. * @debug_excp_handler: Callback for handling debug exceptions. + * @write_elf64_note: Callback for writing a CPU-specific ELF note to a + * 64-bit VM coredump. + * @write_elf32_qemunote: Callback for writing a CPU- and QEMU-specific ELF + * note to a 32-bit VM coredump. + * @write_elf32_note: Callback for writing a CPU-specific ELF note to a + * 32-bit VM coredump. + * @write_elf32_qemunote: Callback for writing a CPU- and QEMU-specific ELF + * note to a 32-bit VM coredump. * @vmsd: State description for migration. * @gdb_num_core_regs: Number of core registers accessible to GDB. * @gdb_core_xml_file: File name for core registers GDB XML description.