[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>
- [PATCH v2 0/7] RISC-V: Add more machine memory, Alistair Francis, 2019/09/26
- [PATCH v2 2/7] riscv/sifive_u: Add QSPI memory region, Alistair Francis, 2019/09/26
- [PATCH v2 1/7] riscv/sifive_u: Add L2-LIM cache memory, Alistair Francis, 2019/09/26
- [PATCH v2 3/7] riscv/sifive_u: Manually define the machine, Alistair Francis, 2019/09/26
- [PATCH v2 5/7] riscv/virt: Manually define the machine, Alistair Francis, 2019/09/26
- Re: [PATCH v2 5/7] riscv/virt: Manually define the machine,
Bin Meng <=
- [PATCH v2 4/7] riscv/sifive_u: Add the start-in-flash property, Alistair Francis, 2019/09/26
- [PATCH v2 7/7] riscv/virt: Jump to pflash if specified, Alistair Francis, 2019/09/26
- [PATCH v2 6/7] riscv/virt: Add the PFlash CFI01 device, Alistair Francis, 2019/09/26