qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 5/7] riscv/virt: Manually define the machine


From: Bin Meng
Subject: Re: [PATCH v2 5/7] riscv/virt: Manually define the machine
Date: Fri, 27 Sep 2019 15:57:06 +0800

On Fri, Sep 27, 2019 at 8:51 AM Alistair Francis
<address@hidden> wrote:
>
> 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 <address@hidden>
> ---
>  hw/riscv/virt.c         | 30 ++++++++++++++++++++++++------
>  include/hw/riscv/virt.h |  7 ++++++-
>  2 files changed, 30 insertions(+), 7 deletions(-)
>

Reviewed-by: Bin Meng <address@hidden>
Tested-by: Bin Meng <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]