Re: [U-Boot] [RFC 1/1] efi_loader: in situ relocation

2019-02-21 Thread AKASHI Takahiro
On Thu, Feb 21, 2019 at 07:55:46PM +0100, Heinrich Schuchardt wrote: > On 2/21/19 11:21 AM, Alexander Graf wrote: > > On 02/20/2019 07:12 PM, Heinrich Schuchardt wrote: > >> On 2/18/19 1:52 AM, AKASHI Takahiro wrote: > >>> Heinrich, > >>> > >>> On Sat, Feb 16, 2019 at 08:50:43PM +0100, Heinrich Sch

Re: [U-Boot] [RFC 1/1] efi_loader: in situ relocation

2019-02-21 Thread Heinrich Schuchardt
On 2/21/19 11:21 AM, Alexander Graf wrote: > On 02/20/2019 07:12 PM, Heinrich Schuchardt wrote: >> On 2/18/19 1:52 AM, AKASHI Takahiro wrote: >>> Heinrich, >>> >>> On Sat, Feb 16, 2019 at 08:50:43PM +0100, Heinrich Schuchardt wrote: All code and data sections of PE images are already in the co

Re: [U-Boot] [RFC 1/1] efi_loader: in situ relocation

2019-02-21 Thread Alexander Graf
On 02/20/2019 07:12 PM, Heinrich Schuchardt wrote: On 2/18/19 1:52 AM, AKASHI Takahiro wrote: Heinrich, On Sat, Feb 16, 2019 at 08:50:43PM +0100, Heinrich Schuchardt wrote: All code and data sections of PE images are already in the correct relative location when loaded into memory. There is no

Re: [U-Boot] [RFC 1/1] efi_loader: in situ relocation

2019-02-20 Thread Heinrich Schuchardt
On 2/18/19 1:52 AM, AKASHI Takahiro wrote: > Heinrich, > > On Sat, Feb 16, 2019 at 08:50:43PM +0100, Heinrich Schuchardt wrote: >> All code and data sections of PE images are already in the correct relative >> location when loaded into memory. There is not need to copy them once >> again. > > Whi

Re: [U-Boot] [RFC 1/1] efi_loader: in situ relocation

2019-02-17 Thread AKASHI Takahiro
Heinrich, On Sat, Feb 16, 2019 at 08:50:43PM +0100, Heinrich Schuchardt wrote: > All code and data sections of PE images are already in the correct relative > location when loaded into memory. There is not need to copy them once > again. While I'm not very familiar with how PE image is created (i

[U-Boot] [RFC 1/1] efi_loader: in situ relocation

2019-02-16 Thread Heinrich Schuchardt
All code and data sections of PE images are already in the correct relative location when loaded into memory. There is not need to copy them once again. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_image_loader.c | 64 ++- 1 file changed, 11 insertions(+)

[U-Boot] [RFC 1/1] efi_loader: in situ relocation

2019-02-16 Thread Heinrich Schuchardt
All code and data sections of PE images are already in the correct relative location when loaded into memory. There is not need to copy them once again. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_image_loader.c | 64 ++- 1 file changed, 11 insertions(+)