of the raw block devices media. Currently "El Torito CD-ROM", Legacy\r
MBR, and GPT partition schemes are supported.\r
\r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
Private->BlockIo.Media = &Private->Media;\r
CopyMem (Private->BlockIo.Media, ParentBlockIo->Media, sizeof (EFI_BLOCK_IO_MEDIA));\r
Private->Media.LogicalPartition = TRUE;\r
+\r
+ //\r
+ // Logical BlockIo instance doesn't have IoAlign restriction because it implements block io operation based on DiskIo\r
+ //\r
+ Private->Media.IoAlign = 0;\r
Private->Media.LastBlock = DivU64x32 (\r
MultU64x32 (\r
End - Start + 1,\r
BlockSize\r
) - 1;\r
\r
- Private->Media.BlockSize = (UINT32) BlockSize;\r
+ Private->Media.BlockSize = (UINT32) BlockSize;\r
\r
//\r
// Per UEFI Spec, LowestAlignedLba and LogicalBlocksPerPhysicalBlock must be 0\r