OSDN Git Service

elf2dmp: introduce physical block alignment
authorViktor Prutyanov <viktor@daynix.com>
Fri, 15 Sep 2023 17:01:50 +0000 (20:01 +0300)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Sep 2023 15:07:15 +0000 (16:07 +0100)
commitd5c27a53d51175a2b89208b050488aaba74de131
tree3c11f1e6db8f595d7cc12259691f7a92fb43ab93
parent3c407ec67f94f8dc189f3e47a6419431d15ff084
elf2dmp: introduce physical block alignment

Physical memory ranges may not be aligned to page size in QEMU ELF, but
DMP can only contain page-aligned runs. So, align them.

Signed-off-by: Viktor Prutyanov <viktor@daynix.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-id: 20230915170153.10959-3-viktor@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
contrib/elf2dmp/addrspace.c
contrib/elf2dmp/addrspace.h
contrib/elf2dmp/main.c