You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
The current MulitBoot loading code in SBL did not follow the specification. The spec stated "The offset in the OS image file at which to start loading is defined by the offset at which the header was found, minus (header_addr - load_addr)". However, the current code always copies from offset 0 of the image file. It caused exception when loading some valid multiboot image. Signed-off-by: Maurice Ma <maurice.ma@intel.com>