On Thu, Sep 30, 2021 at 12:03 AM MingWang Li <limingw...@huawei.com> wrote: > > From: Mingwang Li <limingw...@huawei.com> > > If default main_mem is used to be registered as the system memory, > other memory cannot be initialized. Therefore, the system memory > should be initialized to the machine->ram, which consists of the > default main_mem and other possible memory required by applications, > such as shared hugepage memory in DPDK. > Also, the mc->defaul_ram_id should be set to the default main_mem, > which is named as "riscv_virt_board.ram". > > Signed-off-by: Mingwang Li <limingw...@huawei.com> > Signed-off-by: Yifei Jiang <jiangyi...@huawei.com>
Reviewed-by: Alistair Francis <alistair.fran...@wdc.com> Alistair