From patchwork Tue May 29 10:49:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 10434931 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 013F7601E9 for ; Tue, 29 May 2018 10:54:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E51D9286BA for ; Tue, 29 May 2018 10:54:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9F3D286C1; Tue, 29 May 2018 10:54:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, FSL_HELO_FAKE, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 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 mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 95472286BA for ; Tue, 29 May 2018 10:54:45 +0000 (UTC) Received: from localhost ([::1]:60103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNcH6-0004nc-SW for patchwork-qemu-devel@patchwork.kernel.org; Tue, 29 May 2018 06:54:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNcCw-0001Ft-5W for qemu-devel@nongnu.org; Tue, 29 May 2018 06:50:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNcCv-0003oX-FT for qemu-devel@nongnu.org; Tue, 29 May 2018 06:50:26 -0400 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]:34580) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNcCv-0003o6-9V for qemu-devel@nongnu.org; Tue, 29 May 2018 06:50:25 -0400 Received: by mail-wr0-x22e.google.com with SMTP id j1-v6so24701615wrm.1 for ; Tue, 29 May 2018 03:50:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YBn3Wgah/pQdrv68LRAURNzVkLL05j2iflJyaXCqlWk=; b=UNHzfIC09MB/iw+TdRevNLvJcj9TowoOdVKCNZhugucd9MOLDhyDYMVC5dXLnJ1JBc ly/2VY8yl6LWTwVd7ZyL04lIFOnR10CTarbeu9MzFQHn4Afn1eIRDMZ0H9DMzFVdEzTL ew2NWc+agW3TkxsLjnc9HrbcMQR5+absg196YqtqSgPOo4TtTMummZkI2hV69F5fUh04 D6+VOfVFrAeUWeBAPTcKWgRvx5W+vbj3P+7ZfdnrPB8oYiwN+0KQttkIix8kxzGkmmpb TtzTOyxI15rTL0vBX4iRByCpFYcYhk1R0jpTF8JI556dhwqDP/N8esDw/bueTHV3U7v0 24GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YBn3Wgah/pQdrv68LRAURNzVkLL05j2iflJyaXCqlWk=; b=CgubJRhji11vhqRWGBwGOJGeEeHB0xS6l78Sl+5zaY2ZuIL0nfb4cFTpWkx2CbIrHC PTAlwdqEO9D7de3UqWY2Lmt6L15uuwDZ19nAWd3aAM9byjK0SHIYJdnbXmzPNOgwnZ2D M9Sqg9GSvB8U9Ir9vkgzjM1RRQ3OZnzc889eUfL6a9lH08Lgw90GNnHVwrL/doH0r2LO WB5zJUgHGn3NGMxW5QdPFlHfXnNTNxWPsfCCUqMNhvUXW0xkon9S3Ajv6LUVkMkGxTWI sjKc3hVqTnhN79vtaCjv6VVjfV1G87eSq0Z5kFQM8LYklxvORZ+qHbjH4pWjGpaUWuut cJ7A== X-Gm-Message-State: ALKqPwdeJwUnLQG1knqEQ74ObAQKmJMb7Alv4hg8ZQI8kgUwy3iWLGf1 WQ21dVEDGYxTh3jn0QakoJ3DAQ== X-Google-Smtp-Source: ADUXVKL+rJJ0PBc1j5Fx+XnWVBb07QQZ4F2Cy9iV7tPXZ4XGztdpIM38/wCMEMRdSXR0YFudMoYLuw== X-Received: by 2002:a19:a9d4:: with SMTP id s203-v6mr8953700lfe.37.1527591023891; Tue, 29 May 2018 03:50:23 -0700 (PDT) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id f26-v6sm6295849lje.69.2018.05.29.03.50.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 May 2018 03:50:22 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Date: Tue, 29 May 2018 12:49:39 +0200 Message-Id: <20180529105011.1914-7-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180529105011.1914-1-edgar.iglesias@gmail.com> References: <20180529105011.1914-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22e Subject: [Qemu-devel] [PULL v1 06/38] target-microblaze: Correct the PVR array size X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: edgar.iglesias@xilinx.com, peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: "Edgar E. Iglesias" Correct the PVR array size, there are 13 PVR registers. Reviewed-by: Alistair Francis Signed-off-by: Edgar E. Iglesias --- target/microblaze/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h index 994496515f..2304c24b7d 100644 --- a/target/microblaze/cpu.h +++ b/target/microblaze/cpu.h @@ -277,7 +277,7 @@ struct CPUMBState { /* These fields are preserved on reset. */ struct { - uint32_t regs[16]; + uint32_t regs[13]; } pvr; };