On 7/12/22 14:02, Xiaojuan Yang wrote:
Add fw_cfg table for loongarch virt machine, including memmap table.
Signed-off-by: Xiaojuan Yang<yangxiaoj...@loongson.cn>
---
hw/loongarch/fw_cfg.c | 33 ++++++++++++++++++++++++++
hw/loongarch/fw_cfg.h | 15 ++++++++++++
hw/loongarch/loongson3.c | 47 ++++++++++++++++++++++++++++++++++++-
hw/loongarch/meson.build | 3 +++
include/hw/loongarch/virt.h | 3 +++
5 files changed, 100 insertions(+), 1 deletion(-)
create mode 100644 hw/loongarch/fw_cfg.c
create mode 100644 hw/loongarch/fw_cfg.h
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~