在 2024/8/22 下午2:52, Bibo Mao 写道:
Add the support needed for creating prstatus elf notes. This allows
us to use QMP dump-guest-memory.

Now ELF notes of LoongArch only supports general elf notes, LSX and
LASX is not supported, since it is mainly used to dump guest memory.

Signed-off-by: Bibo Mao<maob...@loongson.cn>
---
  target/loongarch/arch_dump.c | 167 +++++++++++++++++++++++++++++++++++
  target/loongarch/cpu.c       |   1 +
  target/loongarch/internals.h |   2 +
  target/loongarch/meson.build |   1 +
  4 files changed, 171 insertions(+)
  create mode 100644 target/loongarch/arch_dump.c

Reviewed-by: Song Gao <gaos...@loongson.cn>
Tested-by: Song Gao <gaos...@loongson.cn>

Thanks
Song Gao


Reply via email to