Fix the bug that the "Offset" parameter for DiskIo protocol should be byte-oriented.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8175 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2009-04-27 04:03:40 +00:00
parent 1cea34d4a8
commit 7059dad904
3 changed files with 10 additions and 10 deletions

View File

@@ -242,7 +242,7 @@ PartitionInstallMbrChildHandles (
Status = DiskIo->ReadDisk (
DiskIo,
BlockIo->Media->MediaId,
ExtMbrStartingLba,
MultU64x32 (ExtMbrStartingLba, BlockIo->Media->BlockSize),
BlockIo->Media->BlockSize,
Mbr
);