[PATCH 04/14] hw/core: Add riscv[32|64] to "none" machine

Anton Johansson via posted 14 patches 1 day, 8 hours ago
[PATCH 04/14] hw/core: Add riscv[32|64] to "none" machine
Posted by Anton Johansson via 1 day, 8 hours ago
Signed-off-by: Anton Johansson <anjo@rev.ng>
---
 hw/core/null-machine.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/core/null-machine.c b/hw/core/null-machine.c
index 67b769bd3e..77e4ed60e6 100644
--- a/hw/core/null-machine.c
+++ b/hw/core/null-machine.c
@@ -17,6 +17,7 @@
 #include "system/address-spaces.h"
 #include "hw/core/cpu.h"
 #include "hw/arm/machines-qom.h"
+#include "hw/riscv/machines-qom.h"
 
 static void machine_none_init(MachineState *mch)
 {
@@ -59,4 +60,6 @@ static void machine_none_machine_init(MachineClass *mc)
 DEFINE_MACHINE_WITH_INTERFACES("none", machine_none_machine_init,
                                { TYPE_TARGET_AARCH64_MACHINE },
                                { TYPE_TARGET_ARM_MACHINE },
+                               { TYPE_TARGET_RISCV32_MACHINE },
+                               { TYPE_TARGET_RISCV64_MACHINE },
                                { })

-- 
2.51.0
Re: [PATCH 04/14] hw/core: Add riscv[32|64] to "none" machine
Posted by Pierrick Bouvier 1 day, 7 hours ago
On 12/16/25 3:51 PM, Anton Johansson wrote:
> Signed-off-by: Anton Johansson <anjo@rev.ng>
> ---
>   hw/core/null-machine.c | 3 +++
>   1 file changed, 3 insertions(+)
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>