Instead of using the DEFINE_MACHINE() macro to define the machine let's do it manually. This allows us to use the machine object to create RISCVVirtState. This is required to add children and aliases to the machine. This patch is no functional change. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com> |
||
---|---|---|
.. | ||
boot.h | ||
riscv_hart.h | ||
riscv_htif.h | ||
sifive_clint.h | ||
sifive_cpu.h | ||
sifive_e.h | ||
sifive_e_prci.h | ||
sifive_gpio.h | ||
sifive_plic.h | ||
sifive_test.h | ||
sifive_u.h | ||
sifive_u_otp.h | ||
sifive_u_prci.h | ||
sifive_uart.h | ||
spike.h | ||
virt.h |