diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-01-23 06:52:21 +0100 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-01-23 07:56:54 +0100 |
commit | 8d0949b3ed6985377682d7ec260be07ef26ef6d4 (patch) | |
tree | 8360f2c6102514b4896233f4623e57797e0db3b5 /doc/sphinx/load_config.py | |
parent | 2cfb68fd83b9998efe30d181945f478e3c68c6b6 (diff) |
efi_loader: correct EFI_BLOCK_IO_PROTOCOL.Media.LastBlock
The field Media.LastBlock of the EFI_BLOCK_IO_PROTOCOL.Media was filled
incorrectly both for block devices as well as for partitions.
The field must be filled with the index of the last logical block (LBA):
* block devices: device size minus 1
* partitions: partition size minus 1
Reported-by: Alexander von Gluck IV <kallisti5@unixzen.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'doc/sphinx/load_config.py')
0 files changed, 0 insertions, 0 deletions