Pull request for UEFI sub-system for efi-2021-04-rc1-3

Alexander von Gluck IV
2021-01-23T15:30:43Z

January 23, 2021 8:39 AM, "Heinrich Schuchardt" <xypron.glpk@gmx.de> wrote:
> efi_loader: correct EFI_BLOCK_IO_PROTOCOL.Media.LastBlock (2021-01-23
> 07:56:54 +0100)

Confirming that these corrections fix the presented block devices
by u-boot EFI to EFI binaries:

Before:
(nonsensical "last block" which is start + length)
Welcome to the Haiku boot loader!
platform_add_boot_device: called
platform_add_boot_device: .. present: true, logical: false, removeable: false, blocksize: 512, lastblock: 681984
platform_add_boot_device: .. present: true, logical: true, removeable: false, blocksize: 512, lastblock: 679936
platform_add_boot_device: .. present: true, logical: true, removeable: false, blocksize: 512, lastblock: 614400

After:
(correct "last block" which is start + length)
Welcome to the Haiku boot loader!
platform_add_boot_device: called
platform_add_boot_device: .. present: true, logical: false, removeable: false, blocksize: 512, lastblock: 681983
platform_add_boot_device: .. present: true, logical: true, removeable: false, blocksize: 512, lastblock: 65535
platform_add_boot_device: .. present: true, logical: true, removeable: false, blocksize: 512, lastblock: 614399

-- Alex