From: Pierrick Bouvier <[email protected]> Now it's the only file left to define target info, we call it def to make the intent more clear.
Signed-off-by: Pierrick Bouvier <[email protected]> Signed-off-by: Yonggang Luo <[email protected]> --- include/hw/core/cpu.h | 2 +- meson.build | 2 +- target-info-stub.c => target-info-def.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename target-info-stub.c => target-info-def.c (100%) diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index 328e30045ce..ae66f5e33e3 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -601,7 +601,7 @@ QEMU_BUILD_BUG_ON(offsetof(CPUState, neg) != * Return the CPUArchState associated with the CPU. */ #define cpu_env(cpu) _Generic(cpu, \ - /* We validate that CPUArchState follows CPUState in target-info-stub.c */ \ + /* We validate that CPUArchState follows CPUState in target-info-def.c */ \ CPUState *: \ (CPUArchState *)((cpu) + 1), \ const CPUState *: \ diff --git a/meson.build b/meson.build index 64d3f7675f7..ac78c58cb91 100644 --- a/meson.build +++ b/meson.build @@ -4345,7 +4345,7 @@ foreach target : target_dirs endif endif - arch_srcs += files('target-info-stub.c') + arch_srcs += files('target-info-def.c') if target_base_arch in target_arch t = target_arch[target_base_arch].apply(config_target, strict: false) diff --git a/target-info-stub.c b/target-info-def.c similarity index 100% rename from target-info-stub.c rename to target-info-def.c -- 2.55.0.windows.3
