diff options
author | Olivier Martin <olivier.martin@arm.com> | 2015-01-12 12:28:36 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2015-01-12 12:28:36 +0000 |
commit | 5d6bf9e22973c2ad327ca7422f80144c848912dc (patch) | |
tree | 67472dff2b119f1fd81cf565d50c65d536f92c05 /ShellPkg/Include/Library/SortLib.h | |
parent | 3cbfba02fef9dae07a041fdbf2e89611d72d6f90 (diff) | |
download | edk2-5d6bf9e22973c2ad327ca7422f80144c848912dc.tar.gz edk2-5d6bf9e22973c2ad327ca7422f80144c848912dc.tar.bz2 edk2-5d6bf9e22973c2ad327ca7422f80144c848912dc.zip |
MdeModulePkg/PartitionDxe: Fixed El Torito support when the medium is not a CDROM
El Torito format can be used on different media (eg: USB).
A ISO image can be dumped onto a USB mass-storage.
These media might not have the same block size as the CDROM media (ie: 2KB).
The El Torito code and the specification assumes a LBA 2KB.
In addition, the specification says in "12.3.4.4 CD-ROM and DVD-ROM":
UEFI code does not assume a fixed block size.
I was able to dupliacte the issue by copying a debian ISO on a USB driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16600 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Include/Library/SortLib.h')
0 files changed, 0 insertions, 0 deletions