Re: [U-Boot] [PATCH v2 07/11] sandbox: Map host memory for efi_loader

2018-06-14 Thread Simon Glass
Hi Alex, On 14 June 2018 at 13:15, Alexander Graf wrote: > > > On 14.06.18 21:02, Simon Glass wrote: >> Hi Alex, >> >> On 14 June 2018 at 12:22, Alexander Graf wrote: >>> With efi_loader we do not control payload applications, so we can not >>> teach them about the difference between virtual and

Re: [U-Boot] [PATCH v2 07/11] sandbox: Map host memory for efi_loader

2018-06-14 Thread Simon Glass
Hi Heinrich, On 14 June 2018 at 13:21, Heinrich Schuchardt wrote: > On 06/14/2018 09:02 PM, Simon Glass wrote: >> Hi Alex, >> >> On 14 June 2018 at 12:22, Alexander Graf wrote: >>> With efi_loader we do not control payload applications, so we can not >>> teach them about the difference between v

Re: [U-Boot] [PATCH v2 07/11] sandbox: Map host memory for efi_loader

2018-06-14 Thread Heinrich Schuchardt
On 06/14/2018 09:02 PM, Simon Glass wrote: > Hi Alex, > > On 14 June 2018 at 12:22, Alexander Graf wrote: >> With efi_loader we do not control payload applications, so we can not >> teach them about the difference between virtual and physical addresses. >> >> Instead, let's just always map host v

Re: [U-Boot] [PATCH v2 07/11] sandbox: Map host memory for efi_loader

2018-06-14 Thread Alexander Graf
On 14.06.18 21:02, Simon Glass wrote: > Hi Alex, > > On 14 June 2018 at 12:22, Alexander Graf wrote: >> With efi_loader we do not control payload applications, so we can not >> teach them about the difference between virtual and physical addresses. >> >> Instead, let's just always map host virt

Re: [U-Boot] [PATCH v2 07/11] sandbox: Map host memory for efi_loader

2018-06-14 Thread Simon Glass
Hi Alex, On 14 June 2018 at 12:22, Alexander Graf wrote: > With efi_loader we do not control payload applications, so we can not > teach them about the difference between virtual and physical addresses. > > Instead, let's just always map host virtual addresses in the efi memory > map. That way we

[U-Boot] [PATCH v2 07/11] sandbox: Map host memory for efi_loader

2018-06-14 Thread Alexander Graf
With efi_loader we do not control payload applications, so we can not teach them about the difference between virtual and physical addresses. Instead, let's just always map host virtual addresses in the efi memory map. That way we can be sure that all memory allocation functions always return cons