[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 006/150] meson: rename .inc.h files to .h.inc
From: |
Paolo Bonzini |
Subject: |
[PULL 006/150] meson: rename .inc.h files to .h.inc |
Date: |
Tue, 18 Aug 2020 10:08:01 -0400 |
Make it consistent with '.c.inc' and '.rst.inc'.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
include/exec/cpu-all.h | 10 +++++-----
include/exec/memory.h | 12 ++++++------
.../exec/{memory_ldst.inc.h => memory_ldst.h.inc} | 0
...ry_ldst_cached.inc.h => memory_ldst_cached.h.inc} | 0
...memory_ldst_phys.inc.h => memory_ldst_phys.h.inc} | 0
target/s390x/cpu_features.c | 2 +-
target/s390x/cpu_features_def.h | 2 +-
...cpu_features_def.inc.h => cpu_features_def.h.inc} | 0
8 files changed, 13 insertions(+), 13 deletions(-)
rename include/exec/{memory_ldst.inc.h => memory_ldst.h.inc} (100%)
rename include/exec/{memory_ldst_cached.inc.h => memory_ldst_cached.h.inc}
(100%)
rename include/exec/{memory_ldst_phys.inc.h => memory_ldst_phys.h.inc} (100%)
rename target/s390x/{cpu_features_def.inc.h => cpu_features_def.h.inc} (100%)
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h
index fc403d456b..f6439c4705 100644
--- a/include/exec/cpu-all.h
+++ b/include/exec/cpu-all.h
@@ -189,13 +189,13 @@ extern unsigned long reserved_va;
#define ARG1 as
#define ARG1_DECL AddressSpace *as
#define TARGET_ENDIANNESS
-#include "exec/memory_ldst.inc.h"
+#include "exec/memory_ldst.h.inc"
#define SUFFIX _cached_slow
#define ARG1 cache
#define ARG1_DECL MemoryRegionCache *cache
#define TARGET_ENDIANNESS
-#include "exec/memory_ldst.inc.h"
+#include "exec/memory_ldst.h.inc"
static inline void stl_phys_notdirty(AddressSpace *as, hwaddr addr, uint32_t
val)
{
@@ -207,17 +207,17 @@ static inline void stl_phys_notdirty(AddressSpace *as,
hwaddr addr, uint32_t val
#define ARG1 as
#define ARG1_DECL AddressSpace *as
#define TARGET_ENDIANNESS
-#include "exec/memory_ldst_phys.inc.h"
+#include "exec/memory_ldst_phys.h.inc"
/* Inline fast path for direct RAM access. */
#define ENDIANNESS
-#include "exec/memory_ldst_cached.inc.h"
+#include "exec/memory_ldst_cached.h.inc"
#define SUFFIX _cached
#define ARG1 cache
#define ARG1_DECL MemoryRegionCache *cache
#define TARGET_ENDIANNESS
-#include "exec/memory_ldst_phys.inc.h"
+#include "exec/memory_ldst_phys.h.inc"
#endif
/* page related stuff */
diff --git a/include/exec/memory.h b/include/exec/memory.h
index 307e527835..0cfe987ab4 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -2133,12 +2133,12 @@ MemTxResult address_space_write_rom(AddressSpace *as,
hwaddr addr,
#define SUFFIX
#define ARG1 as
#define ARG1_DECL AddressSpace *as
-#include "exec/memory_ldst.inc.h"
+#include "exec/memory_ldst.h.inc"
#define SUFFIX
#define ARG1 as
#define ARG1_DECL AddressSpace *as
-#include "exec/memory_ldst_phys.inc.h"
+#include "exec/memory_ldst_phys.h.inc"
struct MemoryRegionCache {
void *ptr;
@@ -2179,7 +2179,7 @@ struct MemoryRegionCache {
#define SUFFIX _cached_slow
#define ARG1 cache
#define ARG1_DECL MemoryRegionCache *cache
-#include "exec/memory_ldst.inc.h"
+#include "exec/memory_ldst.h.inc"
/* Inline fast path for direct RAM access. */
static inline uint8_t address_space_ldub_cached(MemoryRegionCache *cache,
@@ -2205,15 +2205,15 @@ static inline void
address_space_stb_cached(MemoryRegionCache *cache,
}
#define ENDIANNESS _le
-#include "exec/memory_ldst_cached.inc.h"
+#include "exec/memory_ldst_cached.h.inc"
#define ENDIANNESS _be
-#include "exec/memory_ldst_cached.inc.h"
+#include "exec/memory_ldst_cached.h.inc"
#define SUFFIX _cached
#define ARG1 cache
#define ARG1_DECL MemoryRegionCache *cache
-#include "exec/memory_ldst_phys.inc.h"
+#include "exec/memory_ldst_phys.h.inc"
/* address_space_cache_init: prepare for repeated access to a physical
* memory region
diff --git a/include/exec/memory_ldst.inc.h b/include/exec/memory_ldst.h.inc
similarity index 100%
rename from include/exec/memory_ldst.inc.h
rename to include/exec/memory_ldst.h.inc
diff --git a/include/exec/memory_ldst_cached.inc.h
b/include/exec/memory_ldst_cached.h.inc
similarity index 100%
rename from include/exec/memory_ldst_cached.inc.h
rename to include/exec/memory_ldst_cached.h.inc
diff --git a/include/exec/memory_ldst_phys.inc.h
b/include/exec/memory_ldst_phys.h.inc
similarity index 100%
rename from include/exec/memory_ldst_phys.inc.h
rename to include/exec/memory_ldst_phys.h.inc
diff --git a/target/s390x/cpu_features.c b/target/s390x/cpu_features.c
index 9f817e3cfa..31ea8df246 100644
--- a/target/s390x/cpu_features.c
+++ b/target/s390x/cpu_features.c
@@ -23,7 +23,7 @@
.desc = _DESC, \
},
static const S390FeatDef s390_features[S390_FEAT_MAX] = {
- #include "cpu_features_def.inc.h"
+ #include "cpu_features_def.h.inc"
};
#undef DEF_FEAT
diff --git a/target/s390x/cpu_features_def.h b/target/s390x/cpu_features_def.h
index 412d356feb..87df31848e 100644
--- a/target/s390x/cpu_features_def.h
+++ b/target/s390x/cpu_features_def.h
@@ -17,7 +17,7 @@
#define DEF_FEAT(_FEAT, ...) S390_FEAT_##_FEAT,
typedef enum {
- #include "cpu_features_def.inc.h"
+ #include "cpu_features_def.h.inc"
S390_FEAT_MAX,
} S390Feat;
#undef DEF_FEAT
diff --git a/target/s390x/cpu_features_def.inc.h
b/target/s390x/cpu_features_def.h.inc
similarity index 100%
rename from target/s390x/cpu_features_def.inc.h
rename to target/s390x/cpu_features_def.h.inc
--
2.26.2
- [PULL 000/150] Meson-based build system, Paolo Bonzini, 2020/08/18
- [PULL 001/150] oss-fuzz/build: remove LIB_FUZZING_ENGINE, Paolo Bonzini, 2020/08/18
- [PULL 003/150] pc-bios/s390-ccw: do not use rules.mak, Paolo Bonzini, 2020/08/18
- [PULL 006/150] meson: rename .inc.h files to .h.inc,
Paolo Bonzini <=
- [PULL 007/150] build-sys hack: ensure target directory is there, Paolo Bonzini, 2020/08/18
- [PULL 002/150] optionrom: simplify Makefile, Paolo Bonzini, 2020/08/18
- [PULL 005/150] meson: rename included C source files to .c.inc, Paolo Bonzini, 2020/08/18
- [PULL 011/150] nsis: use "make DESTDIR=" instead of "make prefix=", Paolo Bonzini, 2020/08/18
- [PULL 014/150] configure: prepare CFLAGS/CXXFLAGS/LDFLAGS for Meson, Paolo Bonzini, 2020/08/18
- [PULL 004/150] trace: switch position of headers to what Meson requires, Paolo Bonzini, 2020/08/18
- [PULL 008/150] tests/vm: do not pollute configure with --efi-aarch64, Paolo Bonzini, 2020/08/18
- [PULL 013/150] configure: expand path variables for meson configure, Paolo Bonzini, 2020/08/18
- [PULL 012/150] configure: do not include $(...) variables in config-host.mak, Paolo Bonzini, 2020/08/18
- [PULL 010/150] tests/docker: add test script for static linux-user builds, Paolo Bonzini, 2020/08/18