summary refs log tree commit diff stats
path: root/hw/riscv/sifive_test.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2019-08-14 08:33:32 -0700
committerPalmer Dabbelt <palmer@sifive.com>2019-09-17 08:42:43 -0700
commitdf42fdd6cc0df027d6f52b9abbd9cddac8f7c453 (patch)
treed98caeaeb1d7811b14bd11b15dc90bf0f09875f5 /hw/riscv/sifive_test.c
parent49dd180e4f3e0af8ab8a54fec5058b6cd89e5942 (diff)
downloadfocaccia-qemu-df42fdd6cc0df027d6f52b9abbd9cddac8f7c453.tar.gz
focaccia-qemu-df42fdd6cc0df027d6f52b9abbd9cddac8f7c453.zip
riscv: hmp: Add a command to show virtual memory mappings
This adds 'info mem' command for RISC-V, to show virtual memory
mappings that aids debugging.

Rather than showing every valid PTE, the command compacts the
output by merging all contiguous physical address mappings into
one block and only shows the merged block mapping details.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'hw/riscv/sifive_test.c')
0 files changed, 0 insertions, 0 deletions