[PATCH RFC] mb2 loader: Use the same iteration code for MB2 as for MB1

2020-05-23 Thread Hans Ulrich Niedermann
This avoids the divisions by 4 to compensate for using an array of 32bit values instead of bytes in MB2 find_header(), just like the MB1 find_header() does it. Also uses the same principle for iterating through the MB2 header tags. Why not use the same code for iterating over memory locations in

[PATCH] mb2 loader: Fix header size, alignment for Multiboot 2

2020-05-23 Thread Hans Ulrich Niedermann
. Signed-off-by: Hans Ulrich Niedermann diff --git a/grub-core/loader/multiboot_mbi2.c b/grub-core/loader/multiboot_mbi2.c index a5f9a94a2..026109e69 100644 --- a/grub-core/loader/multiboot_mbi2.c +++ b/grub-core/loader/multiboot_mbi2.c @@ -90,10 +90,11 @@ static struct multiboot_header

Re: [BOOTLOADER SPECIFICATION RFC] The bootloader log format for TrenchBoot and others

2020-06-01 Thread Hans Ulrich Niedermann
On Fri, 29 May 2020 13:27:35 +0200 Daniel Kiper wrote: > Below you can find my rough idea of the bootloader log format which is > generic thing but initially will be used for TrenchBoot work. I > discussed this proposal with Ross and Daniel S. So, the idea went > through initial sanitization.

<    1   2