[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/13] accel: Rename accel_softmmu* -> accel_system*
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 06/13] accel: Rename accel_softmmu* -> accel_system* |
Date: |
Wed, 4 Oct 2023 11:06:21 +0200 |
Rename accel.softmmu -> accel.system in file paths
and the register_types() method.
Rename sysemu_stubs_ss -> system_stubs_ss in meson
following the pattern used on other source set names.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
accel/{accel-softmmu.h => accel-system.h} | 6 +++---
accel/accel-common.c | 2 +-
accel/{accel-softmmu.c => accel-system.c} | 6 +++---
accel/meson.build | 2 +-
accel/stubs/meson.build | 10 +++++-----
5 files changed, 13 insertions(+), 13 deletions(-)
rename accel/{accel-softmmu.h => accel-system.h} (77%)
rename accel/{accel-softmmu.c => accel-system.c} (96%)
diff --git a/accel/accel-softmmu.h b/accel/accel-system.h
similarity index 77%
rename from accel/accel-softmmu.h
rename to accel/accel-system.h
index 5e192f1882..d41c62f21b 100644
--- a/accel/accel-softmmu.h
+++ b/accel/accel-system.h
@@ -7,9 +7,9 @@
* See the COPYING file in the top-level directory.
*/
-#ifndef ACCEL_SOFTMMU_H
-#define ACCEL_SOFTMMU_H
+#ifndef ACCEL_SYSTEM_H
+#define ACCEL_SYSTEM_H
void accel_init_ops_interfaces(AccelClass *ac);
-#endif /* ACCEL_SOFTMMU_H */
+#endif /* ACCEL_SYSTEM_H */
diff --git a/accel/accel-common.c b/accel/accel-common.c
index df72cc989a..965318daa3 100644
--- a/accel/accel-common.c
+++ b/accel/accel-common.c
@@ -30,7 +30,7 @@
#include "hw/core/accel-cpu.h"
#ifndef CONFIG_USER_ONLY
-#include "accel-softmmu.h"
+#include "accel-system.h"
#endif /* !CONFIG_USER_ONLY */
static const TypeInfo accel_type = {
diff --git a/accel/accel-softmmu.c b/accel/accel-system.c
similarity index 96%
rename from accel/accel-softmmu.c
rename to accel/accel-system.c
index 9c804ba9e3..fa8f43757c 100644
--- a/accel/accel-softmmu.c
+++ b/accel/accel-system.c
@@ -28,7 +28,7 @@
#include "hw/boards.h"
#include "sysemu/cpus.h"
#include "qemu/error-report.h"
-#include "accel-softmmu.h"
+#include "accel-system.h"
int accel_init_machine(AccelState *accel, MachineState *ms)
{
@@ -99,8 +99,8 @@ static const TypeInfo accel_ops_type_info = {
.class_size = sizeof(AccelOpsClass),
};
-static void accel_softmmu_register_types(void)
+static void accel_system_register_types(void)
{
type_register_static(&accel_ops_type_info);
}
-type_init(accel_softmmu_register_types);
+type_init(accel_system_register_types);
diff --git a/accel/meson.build b/accel/meson.build
index 638a9a03ba..3376810921 100644
--- a/accel/meson.build
+++ b/accel/meson.build
@@ -1,5 +1,5 @@
specific_ss.add(files('accel-common.c', 'accel-blocker.c'))
-system_ss.add(files('accel-softmmu.c'))
+system_ss.add(files('accel-system.c'))
user_ss.add(files('accel-user.c'))
subdir('tcg')
diff --git a/accel/stubs/meson.build b/accel/stubs/meson.build
index 6b0f200efe..91a2d21925 100644
--- a/accel/stubs/meson.build
+++ b/accel/stubs/meson.build
@@ -1,6 +1,6 @@
-sysemu_stubs_ss = ss.source_set()
-sysemu_stubs_ss.add(when: 'CONFIG_XEN', if_false: files('xen-stub.c'))
-sysemu_stubs_ss.add(when: 'CONFIG_KVM', if_false: files('kvm-stub.c'))
-sysemu_stubs_ss.add(when: 'CONFIG_TCG', if_false: files('tcg-stub.c'))
+system_stubs_ss = ss.source_set()
+system_stubs_ss.add(when: 'CONFIG_XEN', if_false: files('xen-stub.c'))
+system_stubs_ss.add(when: 'CONFIG_KVM', if_false: files('kvm-stub.c'))
+system_stubs_ss.add(when: 'CONFIG_TCG', if_false: files('tcg-stub.c'))
-specific_ss.add_all(when: ['CONFIG_SYSTEM_ONLY'], if_true: sysemu_stubs_ss)
+specific_ss.add_all(when: ['CONFIG_SYSTEM_ONLY'], if_true: system_stubs_ss)
--
2.41.0
- [PATCH 00/13] misc: Rename 'softmmu' -> 'system', Philippe Mathieu-Daudé, 2023/10/04
- [PATCH 01/13] softmmu/trace-events: Fix a typo, Philippe Mathieu-Daudé, 2023/10/04
- [PATCH 02/13] travis-ci: Correct invalid mentions of 'softmmu' by 'system', Philippe Mathieu-Daudé, 2023/10/04
- [PATCH 04/13] fuzz: Correct invalid mentions of 'softmmu' by 'system', Philippe Mathieu-Daudé, 2023/10/04
- [PATCH 05/13] tcg: Correct invalid mentions of 'softmmu' by 'system-mode', Philippe Mathieu-Daudé, 2023/10/04
- [PATCH 03/13] cpu: Correct invalid mentions of 'softmmu' by 'system-mode', Philippe Mathieu-Daudé, 2023/10/04
- [PATCH 06/13] accel: Rename accel_softmmu* -> accel_system*,
Philippe Mathieu-Daudé <=
- [PATCH 07/13] gdbstub: Rename 'softmmu' -> 'system', Philippe Mathieu-Daudé, 2023/10/04
- [PATCH 08/13] semihosting: Rename softmmu_FOO_user() -> uaccess_FOO_user(), Philippe Mathieu-Daudé, 2023/10/04
- [PATCH 10/13] hw/virtio/meson: Rename softmmu_virtio_ss -> system_virtio_ss, Philippe Mathieu-Daudé, 2023/10/04
- [PATCH 11/13] meson: Rename softmmu_mods -> system_mods, Philippe Mathieu-Daudé, 2023/10/04
- [PATCH 09/13] target/i386: Rename i386_softmmu_kvm_ss -> i386_kvm_ss, Philippe Mathieu-Daudé, 2023/10/04
- [PATCH 12/13] meson: Rename target_softmmu_arch -> target_system_arch, Philippe Mathieu-Daudé, 2023/10/04
- [PATCH 13/13] system: Rename softmmu/ directory as system/, Philippe Mathieu-Daudé, 2023/10/04