[PATCH 6/6] hw/or1k: Rename or1k-sim.c from openrisc_sim.c

Richard Henderson posted 6 patches 5 days, 6 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 6/6] hw/or1k: Rename or1k-sim.c from openrisc_sim.c
Posted by Richard Henderson 5 days, 6 hours ago
Match the filename to the machine type: or1k-sim.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 hw/or1k/{openrisc_sim.c => or1k-sim.c} | 0
 MAINTAINERS                            | 2 +-
 hw/or1k/meson.build                    | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename hw/or1k/{openrisc_sim.c => or1k-sim.c} (100%)

diff --git a/hw/or1k/openrisc_sim.c b/hw/or1k/or1k-sim.c
similarity index 100%
rename from hw/or1k/openrisc_sim.c
rename to hw/or1k/or1k-sim.c
diff --git a/MAINTAINERS b/MAINTAINERS
index b739cd59b1..e6c70b2b1c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1493,7 +1493,7 @@ M: Jia Liu <proljc@gmail.com>
 S: Maintained
 F: docs/system/or1k/or1k-sim.rst
 F: hw/intc/ompic.c
-F: hw/or1k/openrisc_sim.c
+F: hw/or1k/or1k-sim.c
 F: tests/functional/or1k/test_sim.py
 
 PowerPC Machines
diff --git a/hw/or1k/meson.build b/hw/or1k/meson.build
index 49c274b848..a5c23f4f5a 100644
--- a/hw/or1k/meson.build
+++ b/hw/or1k/meson.build
@@ -1,7 +1,7 @@
 openrisc_ss = ss.source_set()
 openrisc_ss.add(files('cputimer.c'))
 openrisc_ss.add(files('boot.c'))
-openrisc_ss.add(when: 'CONFIG_OR1K_SIM', if_true: files('openrisc_sim.c'))
+openrisc_ss.add(when: 'CONFIG_OR1K_SIM', if_true: files('or1k-sim.c'))
 openrisc_ss.add(when: 'CONFIG_OR1K_VIRT', if_true: files('virt.c'))
 
 hw_arch += {'or1k': openrisc_ss}
-- 
2.43.0
Re: [PATCH 6/6] hw/or1k: Rename or1k-sim.c from openrisc_sim.c
Posted by Stafford Horne 3 days, 22 hours ago
Hello,

On Thu, Feb 05, 2026 at 01:02:44PM +1000, Richard Henderson wrote:
> Match the filename to the machine type: or1k-sim.
> 
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

Acked-by: Stafford Horne <shorne@gmail.com>

> ---
>  hw/or1k/{openrisc_sim.c => or1k-sim.c} | 0
>  MAINTAINERS                            | 2 +-
>  hw/or1k/meson.build                    | 2 +-
>  3 files changed, 2 insertions(+), 2 deletions(-)
>  rename hw/or1k/{openrisc_sim.c => or1k-sim.c} (100%)
> 
> diff --git a/hw/or1k/openrisc_sim.c b/hw/or1k/or1k-sim.c
> similarity index 100%
> rename from hw/or1k/openrisc_sim.c
> rename to hw/or1k/or1k-sim.c
> diff --git a/MAINTAINERS b/MAINTAINERS
> index b739cd59b1..e6c70b2b1c 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -1493,7 +1493,7 @@ M: Jia Liu <proljc@gmail.com>
>  S: Maintained
>  F: docs/system/or1k/or1k-sim.rst
>  F: hw/intc/ompic.c
> -F: hw/or1k/openrisc_sim.c
> +F: hw/or1k/or1k-sim.c
>  F: tests/functional/or1k/test_sim.py
>  
>  PowerPC Machines
> diff --git a/hw/or1k/meson.build b/hw/or1k/meson.build
> index 49c274b848..a5c23f4f5a 100644
> --- a/hw/or1k/meson.build
> +++ b/hw/or1k/meson.build
> @@ -1,7 +1,7 @@
>  openrisc_ss = ss.source_set()
>  openrisc_ss.add(files('cputimer.c'))
>  openrisc_ss.add(files('boot.c'))
> -openrisc_ss.add(when: 'CONFIG_OR1K_SIM', if_true: files('openrisc_sim.c'))
> +openrisc_ss.add(when: 'CONFIG_OR1K_SIM', if_true: files('or1k-sim.c'))
>  openrisc_ss.add(when: 'CONFIG_OR1K_VIRT', if_true: files('virt.c'))
>  
>  hw_arch += {'or1k': openrisc_ss}
> -- 
> 2.43.0
>