From patchwork Sat Nov 5 19:52:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 621735 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1128379pvb; Sat, 5 Nov 2022 12:55:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6VJMLjyQr+cmw6Q98oZDGMnG8OckRX/1hnuE/1Z2CDMugYaEmnCduH6yPXiKfeVakWbrYc X-Received: by 2002:a37:8ec1:0:b0:6fa:8040:8a4b with SMTP id q184-20020a378ec1000000b006fa80408a4bmr9509582qkd.782.1667678159101; Sat, 05 Nov 2022 12:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667678159; cv=none; d=google.com; s=arc-20160816; b=QE0capFWPMjM3G/Ld553a9iGLx8oSXa4egELJHL+T5o4GuyPJHJ+PEtAsVZhyK4WX+ AnSWDuYKf8FuhdarcHAlrISBkNamtAu6k9nwoQ7cRQwLeXF+vxUm90EeV8VmJTOaDpNX QdVn2T8g76pN1MZE+WUlZRrIjPbd1XEg7rJ7pF27xxOik2Ws09DTgJ4YRJSMw2fmVEZ2 Kn8XJOYzCCV5jCR/1+LnzdS9XxRFj4E5wDIlE/4E7o1ZOfOePolFaYWOCPkFR+25c1lc 8cxmqkv3yuUpep3H+xux0Z5edH1vGRNyfkYIbGtV+xJgkmAwm9tLZEzDePNVkWBD7Dqy xRLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=REfdMKCkyce/KYUqI1lPnf86AuZXrtm7m/+PznGHSf0=; b=M8Ev1JEJoED3YNc8s6csTW01NJWj1RZ2KRz4ESKGHICkA+oJ7cdbseCv8fRcmoPymC IhxM+c/Dkg43JtMDuy/RdW8bltZPRySo1rubo8hyn+tpA+SirbSd7QfWzrB8loREZRg2 MJp6NP1Z8l7nGqzmUErwDAK633ybyZapFgTXLPaQqGyZKcZGWIUYP3ovLvxA1NHMNtyI SRRFtk5RtQz5UhtG3xivwE1eMlV4Cakb7gTBAydUqQRAbYh6gA165DmaHQu8X0DPmWWJ lbeMu2vaG64x6NQyb5ZVxCb6zFw9pr84IQOy2AqvAb0OEYvazXTTag0PMQjMkWmCbA9U aWbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id li19-20020a0562145e1300b004af8a33b0c1si1484087qvb.476.2022.11.05.12.55.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 Nov 2022 12:55:59 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orPDc-0008En-PF; Sat, 05 Nov 2022 15:52:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDZ-0008Bh-Im; Sat, 05 Nov 2022 15:52:37 -0400 Received: from mout.kundenserver.de ([212.227.17.10]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDX-0003a1-5t; Sat, 05 Nov 2022 15:52:37 -0400 Received: from quad ([82.142.8.70]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MHndY-1olIWv3VSA-00Evzt; Sat, 05 Nov 2022 20:52:32 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Laurent Vivier , =?utf-8?q?Alex_Benn=C3=A9e?= Subject: [PULL 4/7] target/m68k: Rename qregs.def -> qregs.h.inc Date: Sat, 5 Nov 2022 20:52:24 +0100 Message-Id: <20221105195227.354769-5-laurent@vivier.eu> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221105195227.354769-1-laurent@vivier.eu> References: <20221105195227.354769-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:KqkWFJF4qEqDsMz6J3gdsinnXe2P7pXNcsCTwHrIej+gWXe98oG a2tESZt5gPPY9Gqw1l6uRJic0KOM2iz1k+Nn9usf9eaWrOUSwwCzqw5KO+b0t3yd6yEkqzS tBU5AsZY8DnHfP0ho4n/fpeB+ivJ/Yi7Gmnajaz3EE0QaT3vei4/ODADFm550kNMSPr7tNx oOwayi/18+eCWm6aLopdQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:SrQzScEA6PM=:yHwhGHzyrD84uoWJiXOK72 JgCP/newo+WK1943wd878jfSFHWKSdbF0xIjsF/sPxrcBIOHMcJePuG9fBF0DM5DO24Z6vQtj A+iHGdKdXBPWNsrWcSxN6mcQ3aVvB7c+DCDT4o2wY+eSP3YxzV8j40+FBJHPjNiOAYmOiipiI xnht9+yX+Her5xgnuqcA94oALnIdcTryj9t5r50KJtdztpwmbQ+fMTCjB7crMV+LCHtkJWZUQ HZId6LK/MStqhaJt/CR0UNnv7gWU4+UlSwKZ6YRpSSJzvodnDYVRcUGHw9N9QF7dtltuRJwli GWl8Rs11wj4zU5mghOZgdnfpNmpWqDzOaaF9hw/GH5d3032bF1dZSeKsZHq0Yw6pUNOZ9B9KC PK+MjC/YpsRASnD3SeJkK1S1hyjZZoI76X0ctPJ+HsLu9Im2oAuhKFJSvGX93Elamk48yb9+f teU7l6Tufmkyr5s1MEZoguBW1ldEtoBKUCx8KxHJy4tcBYeTITQl+AeHOoXKhQlZGfbCR7MHW WZXssddRC/3eRI/FpdexMh4Ez9KUdhc9k1+FHDi2WHYkS7jx7tIH0Lj92Erms2a+S19igAQTl 02rZ3LwmUCbuLst1uAbBo8xIhIQxNrO1zIFP3YtuowfQVV8a3i/cKtT4VFDskU4ABEyq/gfDy CnrIUW5xxMQiGTsjk21D/8VNF++M0VLvTkOLc9MTC9p+ClWKANNVGVRyILw6DEpLI4ocNiV2K 2shWdwNoBI88fw0qUwVX4V7pdQf9KjYDWUuTE6xouWFCGgW92CpTldMBjNs/mCuHPr2K/bFKM IrWgKc1 Received-SPF: none client-ip=212.227.17.10; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé We use the .h.inc extension to include C headers. To be consistent with the rest of the codebase, rename the C headers using the .def extension. IDE/tools using our .editorconfig / .gitattributes will leverage this consistency. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Laurent Vivier Reviewed-by: Alex Bennée Message-Id: <20221025235006.7215-2-philmd@linaro.org> Signed-off-by: Laurent Vivier --- target/m68k/{qregs.def => qregs.h.inc} | 0 target/m68k/translate.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename target/m68k/{qregs.def => qregs.h.inc} (100%) diff --git a/target/m68k/qregs.def b/target/m68k/qregs.h.inc similarity index 100% rename from target/m68k/qregs.def rename to target/m68k/qregs.h.inc diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 5cbde4be3404..18418312b14b 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -39,7 +39,7 @@ #define DEFO32(name, offset) static TCGv QREG_##name; #define DEFO64(name, offset) static TCGv_i64 QREG_##name; -#include "qregs.def" +#include "qregs.h.inc" #undef DEFO32 #undef DEFO64 @@ -75,7 +75,7 @@ void m68k_tcg_init(void) #define DEFO64(name, offset) \ QREG_##name = tcg_global_mem_new_i64(cpu_env, \ offsetof(CPUM68KState, offset), #name); -#include "qregs.def" +#include "qregs.h.inc" #undef DEFO32 #undef DEFO64