[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 0/3] hw/elf_ops: clear uninitialized segment space
From: |
Laurent Vivier |
Subject: |
Re: [PATCH v3 0/3] hw/elf_ops: clear uninitialized segment space |
Date: |
Tue, 18 May 2021 13:32:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
Le 29/04/2021 à 16:13, Laurent Vivier a écrit :
> When the mem_size of the segment is bigger than the file_size,
> and if this space doesn't overlap another segment, it needs
> to be cleared.
>
> When the file is loaded in RAM, it is cleared by the loader (PATCH 2),
> when the file is loaded in a ROM, the space is cleared on reset,
> when the data of the file is copied from the data buffer to
> the machine memory space (PATCH 3).
>
> This series a new function address_space_set() to clear the memory.
>
> v3: add a patch to clear the uninitialized space of the ROM
> v2: PMD introduces address_space_set() function
>
> Laurent Vivier (2):
> hw/elf_ops: clear uninitialized segment space
> hw/core/loader: clear uninitialized ROM space
>
> Philippe Mathieu-Daudé (1):
> exec/memory: Extract address_space_set() from dma_memory_set()
>
> include/exec/memory.h | 16 ++++++++++++++++
> include/hw/elf_ops.h | 13 +++++++++++++
> hw/core/loader.c | 4 ++++
> softmmu/dma-helpers.c | 16 +---------------
> softmmu/physmem.c | 19 +++++++++++++++++++
> 5 files changed, 53 insertions(+), 15 deletions(-)
>
Anyone to merge the series?
Thanks,
Laurent
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v3 0/3] hw/elf_ops: clear uninitialized segment space,
Laurent Vivier <=