elf2dmp: introduce merging of physical memory runs
commit9b7dcd8ff4e5a0b6a976027f6d78c0b55c30607d
authorViktor Prutyanov <viktor@daynix.com>
Fri, 15 Sep 2023 17:01:51 +0000 (15 20:01 +0300)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Sep 2023 15:07:15 +0000 (21 16:07 +0100)
tree9efad673137bfcfa79d42b1d3f24bd2a75cf1b93
parentd5c27a53d51175a2b89208b050488aaba74de131
elf2dmp: introduce merging of physical memory runs

DMP supports 42 physical memory runs at most. So, merge adjacent
physical memory ranges from QEMU ELF when possible to minimize total
number of runs.

Signed-off-by: Viktor Prutyanov <viktor@daynix.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-id: 20230915170153.10959-4-viktor@daynix.com
[PMM: fixed format string for printing size_t values]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
contrib/elf2dmp/main.c