eclair and ldump2mcdump: obtain PHYS_OFFSET from dump_mem_chunks

Change-Id: I5dd5f9e7e6b5817e50b0a1855b67f163d3029f17
This commit is contained in:
Balazs Gerofi
2020-02-04 23:30:28 +00:00
parent 7882110e9f
commit 6bef773741
5 changed files with 7 additions and 4 deletions

View File

@ -50,6 +50,8 @@ struct dump_mem_chunk {
typedef struct dump_mem_chunks_s {
int nr_chunks;
unsigned long kernel_base;
/* memstart_addr in aarch64 */
unsigned long phys_start;
struct dump_mem_chunk chunks[];
} dump_mem_chunks_t;