Re: [U-Boot] [PATCH v8 24/30] efi: Adjust memory handling to support sandbox

2018-06-21 Thread Simon Glass
Hi Alex, On 21 June 2018 at 04:14, Alexander Graf wrote: > On 06/21/2018 04:01 AM, Simon Glass wrote: >> >> Hi Alex, >> >> On 18 June 2018 at 09:03, Alexander Graf wrote: >>> >>> On 06/18/2018 04:08 PM, Simon Glass wrote: Sandbox does not support direct casts between addresses and poin

Re: [U-Boot] [PATCH v8 24/30] efi: Adjust memory handling to support sandbox

2018-06-21 Thread Alexander Graf
On 06/21/2018 04:01 AM, Simon Glass wrote: Hi Alex, On 18 June 2018 at 09:03, Alexander Graf wrote: On 06/18/2018 04:08 PM, Simon Glass wrote: Sandbox does not support direct casts between addresses and pointers, since it uses an emulated RAM buffer rather than directly using host RAM. The c

Re: [U-Boot] [PATCH v8 24/30] efi: Adjust memory handling to support sandbox

2018-06-20 Thread Simon Glass
Hi Alex, On 18 June 2018 at 09:03, Alexander Graf wrote: > On 06/18/2018 04:08 PM, Simon Glass wrote: >> >> Sandbox does not support direct casts between addresses and pointers, >> since it uses an emulated RAM buffer rather than directly using host >> RAM. >> >> The current EFI code uses an inte

Re: [U-Boot] [PATCH v8 24/30] efi: Adjust memory handling to support sandbox

2018-06-18 Thread Alexander Graf
On 06/18/2018 04:08 PM, Simon Glass wrote: Sandbox does not support direct casts between addresses and pointers, since it uses an emulated RAM buffer rather than directly using host RAM. The current EFI code uses an integer type for addresses, but treats them like pointers. Update the code to m

[U-Boot] [PATCH v8 24/30] efi: Adjust memory handling to support sandbox

2018-06-18 Thread Simon Glass
Sandbox does not support direct casts between addresses and pointers, since it uses an emulated RAM buffer rather than directly using host RAM. The current EFI code uses an integer type for addresses, but treats them like pointers. Update the code to maintain a (reasonably) clear separation betwe