Re: [U-Boot] [PATCH] efi_loader: Align runtime section to 64kb

2018-09-17 Thread Alexander Graf
On 16.09.18 22:42, Heinrich Schuchardt wrote: > On 09/17/2018 04:45 AM, Alexander Graf wrote: >> The UEFI spec mandates that runtime sections are 64kb aligned to enable > %s/kb/ kiB/g > The spec requires a multiple of 64,000 not of 65,536. The other way around you mean I guess? We do usually use

Re: [U-Boot] [PATCH] efi_loader: Align runtime section to 64kb

2018-09-16 Thread Heinrich Schuchardt
On 09/17/2018 04:45 AM, Alexander Graf wrote: > The UEFI spec mandates that runtime sections are 64kb aligned to enable > support for 64kb page size OSs. Where in the spec did you find this? I could neither find the term "runtime section" nor "64kb" in the text. Best regards Heinrich > > This

Re: [U-Boot] [PATCH] efi_loader: Align runtime section to 64kb

2018-09-16 Thread Heinrich Schuchardt
On 09/17/2018 04:45 AM, Alexander Graf wrote: > The UEFI spec mandates that runtime sections are 64kb aligned to enable %s/kb/ kiB/g The spec requires a multiple of 64,000 not of 65,536. > support for 64kb page size OSs. > > This patch ensures that we extend the runtime section to 64kb to be spec

[U-Boot] [PATCH] efi_loader: Align runtime section to 64kb

2018-09-16 Thread Alexander Graf
The UEFI spec mandates that runtime sections are 64kb aligned to enable support for 64kb page size OSs. This patch ensures that we extend the runtime section to 64kb to be spec compliant. Signed-off-by: Alexander Graf --- lib/efi_loader/efi_memory.c | 7 --- 1 file changed, 4 insertions(+),