[PATCH 3/6] hw/or1k: Rename from openrisc

Richard Henderson posted 6 patches 5 days, 2 hours ago
Maintainers: Laurent Vivier <laurent@vivier.eu>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Stafford Horne <shorne@gmail.com>, Riku Voipio <riku.voipio@iki.fi>, "Daniel P. Berrangé" <berrange@redhat.com>, Eduardo Habkost <eduardo@habkost.net>
[PATCH 3/6] hw/or1k: Rename from openrisc
Posted by Richard Henderson 5 days, 2 hours ago
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 hw/{openrisc => or1k}/boot.c         | 0
 hw/{openrisc => or1k}/cputimer.c     | 0
 hw/{openrisc => or1k}/openrisc_sim.c | 0
 hw/{openrisc => or1k}/virt.c         | 0
 MAINTAINERS                          | 4 ++--
 hw/Kconfig                           | 2 +-
 hw/meson.build                       | 2 +-
 hw/{openrisc => or1k}/Kconfig        | 0
 hw/{openrisc => or1k}/meson.build    | 0
 9 files changed, 4 insertions(+), 4 deletions(-)
 rename hw/{openrisc => or1k}/boot.c (100%)
 rename hw/{openrisc => or1k}/cputimer.c (100%)
 rename hw/{openrisc => or1k}/openrisc_sim.c (100%)
 rename hw/{openrisc => or1k}/virt.c (100%)
 rename hw/{openrisc => or1k}/Kconfig (100%)
 rename hw/{openrisc => or1k}/meson.build (100%)

diff --git a/hw/openrisc/boot.c b/hw/or1k/boot.c
similarity index 100%
rename from hw/openrisc/boot.c
rename to hw/or1k/boot.c
diff --git a/hw/openrisc/cputimer.c b/hw/or1k/cputimer.c
similarity index 100%
rename from hw/openrisc/cputimer.c
rename to hw/or1k/cputimer.c
diff --git a/hw/openrisc/openrisc_sim.c b/hw/or1k/openrisc_sim.c
similarity index 100%
rename from hw/openrisc/openrisc_sim.c
rename to hw/or1k/openrisc_sim.c
diff --git a/hw/openrisc/virt.c b/hw/or1k/virt.c
similarity index 100%
rename from hw/openrisc/virt.c
rename to hw/or1k/virt.c
diff --git a/MAINTAINERS b/MAINTAINERS
index 508d37ab7a..00aa4f2a41 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -304,7 +304,7 @@ M: Stafford Horne <shorne@gmail.com>
 S: Odd Fixes
 F: docs/system/openrisc/cpu-features.rst
 F: target/or1k/
-F: hw/openrisc/
+F: hw/or1k/
 F: include/hw/or1k/
 F: tests/functional/or1k/meson.build
 F: tests/tcg/openrisc/
@@ -1493,7 +1493,7 @@ M: Jia Liu <proljc@gmail.com>
 S: Maintained
 F: docs/system/openrisc/or1k-sim.rst
 F: hw/intc/ompic.c
-F: hw/openrisc/openrisc_sim.c
+F: hw/or1k/openrisc_sim.c
 F: tests/functional/or1k/test_sim.py
 
 PowerPC Machines
diff --git a/hw/Kconfig b/hw/Kconfig
index 9e6c789ae7..f8f92b5d03 100644
--- a/hw/Kconfig
+++ b/hw/Kconfig
@@ -58,7 +58,7 @@ source loongarch/Kconfig
 source m68k/Kconfig
 source microblaze/Kconfig
 source mips/Kconfig
-source openrisc/Kconfig
+source or1k/Kconfig
 source ppc/Kconfig
 source riscv/Kconfig
 source rx/Kconfig
diff --git a/hw/meson.build b/hw/meson.build
index 1022bdb806..66e46b8090 100644
--- a/hw/meson.build
+++ b/hw/meson.build
@@ -9,7 +9,7 @@ subdir('loongarch')
 subdir('m68k')
 subdir('microblaze')
 subdir('mips')
-subdir('openrisc')
+subdir('or1k')
 subdir('ppc')
 subdir('remote')
 subdir('riscv')
diff --git a/hw/openrisc/Kconfig b/hw/or1k/Kconfig
similarity index 100%
rename from hw/openrisc/Kconfig
rename to hw/or1k/Kconfig
diff --git a/hw/openrisc/meson.build b/hw/or1k/meson.build
similarity index 100%
rename from hw/openrisc/meson.build
rename to hw/or1k/meson.build
-- 
2.43.0
Re: [PATCH 3/6] hw/or1k: Rename from openrisc
Posted by Philippe Mathieu-Daudé 4 days, 13 hours ago
On 5/2/26 04:02, Richard Henderson wrote:
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>   hw/{openrisc => or1k}/boot.c         | 0
>   hw/{openrisc => or1k}/cputimer.c     | 0
>   hw/{openrisc => or1k}/openrisc_sim.c | 0
>   hw/{openrisc => or1k}/virt.c         | 0
>   MAINTAINERS                          | 4 ++--
>   hw/Kconfig                           | 2 +-
>   hw/meson.build                       | 2 +-
>   hw/{openrisc => or1k}/Kconfig        | 0
>   hw/{openrisc => or1k}/meson.build    | 0
>   9 files changed, 4 insertions(+), 4 deletions(-)
>   rename hw/{openrisc => or1k}/boot.c (100%)
>   rename hw/{openrisc => or1k}/cputimer.c (100%)
>   rename hw/{openrisc => or1k}/openrisc_sim.c (100%)
>   rename hw/{openrisc => or1k}/virt.c (100%)
>   rename hw/{openrisc => or1k}/Kconfig (100%)
>   rename hw/{openrisc => or1k}/meson.build (100%)


> diff --git a/hw/openrisc/meson.build b/hw/or1k/meson.build
> similarity index 100%
> rename from hw/openrisc/meson.build
> rename to hw/or1k/meson.build

Can we s/openrisc_ss/or1k_ss/ in this file?