From: Alexander Graf Date: Tue, 13 Nov 2018 20:58:16 +0100 Subject: [U-Boot] [PATCH 1/1] efi_loader: eliminate sandbox addresses In-Reply-To: References: <20181110223010.17618-1-xypron.glpk@gmx.de> Message-ID: <9c0a6739-b04d-e8fe-25d3-fb66aec1b64d@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 13.11.18 20:53, Simon Glass wrote: > Hi Heinrich, > > On 10 November 2018 at 14:30, Heinrich Schuchardt wrote: >> Do not use the sandbox's virtual address space for the internal structures >> of the memory map. This way we can eliminate a whole lot of unnecessary >> conversions. >> >> The only conversion remaining is the one when adding known memory. >> >> Signed-off-by: Heinrich Schuchardt >> --- >> lib/efi_loader/efi_memory.c | 17 ++++------------- >> 1 file changed, 4 insertions(+), 13 deletions(-) > > I much prefer this, but Alex was not too keen. Uh, I thought you were the one who wanted to only expose fake addresses? I think the patch is great as is :). It definitely simplifies the code. > Also please can you add detailed comments to efi_mem_desc about what > the addresses are for sandbox? I'll wait for v2 then. Alex