From: Laurent Vivier <laurent@vivier.eu>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>, qemu-devel@nongnu.org
Cc: David Hildenbrand <david@redhat.com>,
Bastian Koppelmann <kbastian@mail.uni-paderborn.de>,
Thomas Huth <thuth@redhat.com>,
qemu-s390x@nongnu.org,
Richard Henderson <richard.henderson@linaro.org>,
Cornelia Huck <cohuck@redhat.com>,
qemu-trivial@nongnu.org
Subject: Re: [PATCH 3/3] target/tricore: Rename csfr.def -> csfr.h.inc
Date: Wed, 2 Nov 2022 19:30:31 +0100 [thread overview]
Message-ID: <89444fcc-d071-aa83-16d4-95f15fe53d6d@vivier.eu> (raw)
In-Reply-To: <20221025235006.7215-4-philmd@linaro.org>
Le 26/10/2022 à 01:50, Philippe Mathieu-Daudé a écrit :
> 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é <philmd@linaro.org>
> ---
> target/tricore/{csfr.def => csfr.h.inc} | 0
> target/tricore/translate.c | 4 ++--
> 2 files changed, 2 insertions(+), 2 deletions(-)
> rename target/tricore/{csfr.def => csfr.h.inc} (100%)
>
> diff --git a/target/tricore/csfr.def b/target/tricore/csfr.h.inc
> similarity index 100%
> rename from target/tricore/csfr.def
> rename to target/tricore/csfr.h.inc
> diff --git a/target/tricore/translate.c b/target/tricore/translate.c
> index a0558ead71..f02090945d 100644
> --- a/target/tricore/translate.c
> +++ b/target/tricore/translate.c
> @@ -388,7 +388,7 @@ static inline void gen_mfcr(DisasContext *ctx, TCGv ret, int32_t offset)
> gen_helper_psw_read(ret, cpu_env);
> } else {
> switch (offset) {
> -#include "csfr.def"
> +#include "csfr.h.inc"
> }
> }
> }
> @@ -418,7 +418,7 @@ static inline void gen_mtcr(DisasContext *ctx, TCGv r1,
> gen_helper_psw_write(cpu_env, r1);
> } else {
> switch (offset) {
> -#include "csfr.def"
> +#include "csfr.h.inc"
> }
> }
> } else {
Applied to my trivial-patches branch.
Thanks,
Laurent
next prev parent reply other threads:[~2022-11-02 18:31 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-25 23:50 [PATCH 0/3] target: Rename headers using .def extension to .h.inc Philippe Mathieu-Daudé
2022-10-25 23:50 ` [PATCH 1/3] target/m68k: Rename qregs.def -> qregs.h.inc Philippe Mathieu-Daudé
2022-10-26 9:54 ` Laurent Vivier
2022-11-02 18:29 ` Laurent Vivier
2022-10-25 23:50 ` [PATCH 2/3] target/s390x: Rename insn-data/format.def -> insn-data/format.h.inc Philippe Mathieu-Daudé
2022-10-27 6:45 ` Thomas Huth
2022-11-02 18:30 ` Laurent Vivier
2022-10-25 23:50 ` [PATCH 3/3] target/tricore: Rename csfr.def -> csfr.h.inc Philippe Mathieu-Daudé
2022-10-26 8:21 ` Bastian Koppelmann
2022-11-02 18:30 ` Laurent Vivier [this message]
2022-10-26 9:45 ` [PATCH 0/3] target: Rename headers using .def extension to .h.inc Alex Bennée
[not found] ` <8d197b71-937a-5693-3b7f-ea4bded8c360@redhat.com>
2022-10-27 14:12 ` Philippe Mathieu-Daudé
2022-10-27 15:25 ` Thomas Huth
2022-10-27 14:39 ` Markus Armbruster
2022-10-27 15:01 ` Peter Maydell
2022-10-27 17:17 ` Markus Armbruster
2022-10-27 17:24 ` Peter Maydell
2022-10-28 4:37 ` Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=89444fcc-d071-aa83-16d4-95f15fe53d6d@vivier.eu \
--to=laurent@vivier.eu \
--cc=cohuck@redhat.com \
--cc=david@redhat.com \
--cc=kbastian@mail.uni-paderborn.de \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).