hw/loongarch: Add fw_cfg table support
Add fw_cfg table for loongarch virt machine, including memmap table. Reviewed-by:Richard Henderson <richard.henderson@linaro.org> Signed-off-by:
Xiaojuan Yang <yangxiaojuan@loongson.cn> Message-Id: <20220712083206.4187715-2-yangxiaojuan@loongson.cn> [rth: Replace fprintf with assert; drop unused return value; initialize reserved slot to zero.] Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Showing
- hw/loongarch/fw_cfg.c 33 additions, 0 deletionshw/loongarch/fw_cfg.c
- hw/loongarch/fw_cfg.h 15 additions, 0 deletionshw/loongarch/fw_cfg.h
- hw/loongarch/loongson3.c 40 additions, 1 deletionhw/loongarch/loongson3.c
- hw/loongarch/meson.build 3 additions, 0 deletionshw/loongarch/meson.build
- include/hw/loongarch/virt.h 3 additions, 0 deletionsinclude/hw/loongarch/virt.h
hw/loongarch/fw_cfg.c
0 → 100644
hw/loongarch/fw_cfg.h
0 → 100644
Please register or sign in to comment