audk/MdeModulePkg/Universal/Disk/PartitionDxe
Olivier Martin 5d6bf9e229 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
2015-01-12 12:28:36 +00:00
..
ComponentName.c Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid. 2011-07-06 03:55:36 +00:00
ElTorito.c MdeModulePkg/PartitionDxe: Fixed El Torito support when the medium is not a CDROM 2015-01-12 12:28:36 +00:00
Gpt.c Add DiskIo2 protocol definition to MdePkg. 2013-08-20 03:14:30 +00:00
Mbr.c MdeModulePkg: Misc comments and DEBUG messages 2014-11-27 01:01:43 +00:00
Partition.c MdeModulePkg/PartitionDxe: Simplify the error handling of DriverBindingSupported(). 2014-08-19 05:37:28 +00:00
Partition.h Add DiskIo2 protocol definition to MdePkg. 2013-08-20 03:14:30 +00:00
PartitionDxe.inf MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:34:06 +00:00
PartitionDxe.uni MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PartitionDxeExtra.uni MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:53:43 +00:00