summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2022-10-26 01:50:04 +0200
committerLaurent Vivier2022-11-05 20:35:45 +0100
commit0f208a9747a700a4b63afc87d58da0c87f37e214 (patch)
tree4348af57f68bdd8863b182b95abe45bedd293085 /target
parentxen/pt: fix syntax error that causes FTBFS in some configurations (diff)
downloadqemu-0f208a9747a700a4b63afc87d58da0c87f37e214.tar.gz
qemu-0f208a9747a700a4b63afc87d58da0c87f37e214.tar.xz
qemu-0f208a9747a700a4b63afc87d58da0c87f37e214.zip
target/m68k: Rename qregs.def -> qregs.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: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20221025235006.7215-2-philmd@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'target')
-rw-r--r--target/m68k/qregs.h.inc (renamed from target/m68k/qregs.def)0
-rw-r--r--target/m68k/translate.c4
2 files changed, 2 insertions, 2 deletions
diff --git a/target/m68k/qregs.def b/target/m68k/qregs.h.inc
index 1aadc622db..1aadc622db 100644
--- a/target/m68k/qregs.def
+++ b/target/m68k/qregs.h.inc
diff --git a/target/m68k/translate.c b/target/m68k/translate.c
index 5cbde4be34..18418312b1 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