From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Bastian Koppelmann" <kbastian@mail.uni-paderborn.de>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Laurent Vivier" <laurent@vivier.eu>
Subject: [PULL 6/7] target/tricore: Rename csfr.def -> csfr.h.inc
Date: Sat, 5 Nov 2022 20:52:26 +0100 [thread overview]
Message-ID: <20221105195227.354769-7-laurent@vivier.eu> (raw)
In-Reply-To: <20221105195227.354769-1-laurent@vivier.eu>
From: Philippe Mathieu-Daudé <philmd@linaro.org>
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>
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20221025235006.7215-4-philmd@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
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 c5b7bfbf2013..df9e46c6495e 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 {
--
2.37.3
next prev parent reply other threads:[~2022-11-05 19:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-05 19:52 [PULL 0/7] Trivial branch for 7.2 patches Laurent Vivier
2022-11-05 19:52 ` [PULL 1/7] qapi: virtio: Fix the introduced version Laurent Vivier
2022-11-05 19:52 ` [PULL 2/7] Fix some typos in documentation and comments Laurent Vivier
2022-11-05 19:52 ` [PULL 3/7] xen/pt: fix syntax error that causes FTBFS in some configurations Laurent Vivier
2022-11-05 19:52 ` [PULL 4/7] target/m68k: Rename qregs.def -> qregs.h.inc Laurent Vivier
2022-11-05 19:52 ` [PULL 5/7] target/s390x: Rename insn-data/format.def -> insn-data/format.h.inc Laurent Vivier
2022-11-05 19:52 ` Laurent Vivier [this message]
2022-11-05 19:52 ` [PULL 7/7] tests/unit: simpler variable sequence for test-io-channel Laurent Vivier
2022-11-07 20:03 ` [PULL 0/7] Trivial branch for 7.2 patches Stefan Hajnoczi
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=20221105195227.354769-7-laurent@vivier.eu \
--to=laurent@vivier.eu \
--cc=alex.bennee@linaro.org \
--cc=kbastian@mail.uni-paderborn.de \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
/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).