[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 07/10] target/m68k: Rename qregs.def -> qregs.h.inc
From: |
Laurent Vivier |
Subject: |
[PULL 07/10] target/m68k: Rename qregs.def -> qregs.h.inc |
Date: |
Thu, 3 Nov 2022 17:17:24 +0100 |
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: 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>
---
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
--
2.37.3
- [PULL 00/10] Trivial branch for 7.2 patches, Laurent Vivier, 2022/11/03
- [PULL 01/10] qapi: virtio: Fix the introduced version, Laurent Vivier, 2022/11/03
- [PULL 10/10] tests/unit: simpler variable sequence for test-io-channel, Laurent Vivier, 2022/11/03
- [PULL 07/10] target/m68k: Rename qregs.def -> qregs.h.inc,
Laurent Vivier <=
- [PULL 09/10] target/tricore: Rename csfr.def -> csfr.h.inc, Laurent Vivier, 2022/11/03
- [PULL 03/10] xen/pt: fix syntax error that causes FTBFS in some configurations, Laurent Vivier, 2022/11/03
- [PULL 05/10] libvhost-user: Fix format strings, Laurent Vivier, 2022/11/03
- [PULL 08/10] target/s390x: Rename insn-data/format.def -> insn-data/format.h.inc, Laurent Vivier, 2022/11/03
- [PULL 06/10] libvhost-user: Add format attribute to local function vu_panic, Laurent Vivier, 2022/11/03
- [PULL 04/10] libvhost-user: Fix wrong type of argument to formatting function (reported by LGTM), Laurent Vivier, 2022/11/03
- [PULL 02/10] Fix some typos in documentation and comments, Laurent Vivier, 2022/11/03
- Re: [PULL 00/10] Trivial branch for 7.2 patches, Stefan Hajnoczi, 2022/11/04