summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2022-10-26 01:50:06 +0200
committerLaurent Vivier2022-11-05 20:35:45 +0100
commit5d756c82c9eb288f9e19bbc711c99e6b6bda9f0c (patch)
treed10c1cf57a6f4f87b3df07b076a24bfbd765d0fd /target
parenttarget/s390x: Rename insn-data/format.def -> insn-data/format.h.inc (diff)
downloadqemu-5d756c82c9eb288f9e19bbc711c99e6b6bda9f0c.tar.gz
qemu-5d756c82c9eb288f9e19bbc711c99e6b6bda9f0c.tar.xz
qemu-5d756c82c9eb288f9e19bbc711c99e6b6bda9f0c.zip
target/tricore: Rename csfr.def -> csfr.h.inc
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>
Diffstat (limited to 'target')
-rw-r--r--target/tricore/csfr.h.inc (renamed from target/tricore/csfr.def)0
-rw-r--r--target/tricore/translate.c4
2 files changed, 2 insertions, 2 deletions
diff --git a/target/tricore/csfr.def b/target/tricore/csfr.h.inc
index ff004cbddc..ff004cbddc 100644
--- a/target/tricore/csfr.def
+++ b/target/tricore/csfr.h.inc
diff --git a/target/tricore/translate.c b/target/tricore/translate.c
index c5b7bfbf20..df9e46c649 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 {