mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
Fix IA32 build failure: Use MultU64x32 for 64bit * 32bit.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16604 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a782428ec6
commit
173acde916
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Decode an El Torito formatted CD-ROM
|
Decode an El Torito formatted CD-ROM
|
||||||
|
|
||||||
Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -258,7 +258,7 @@ PartitionInstallElToritoChildHandles (
|
|||||||
DevicePath,
|
DevicePath,
|
||||||
(EFI_DEVICE_PATH_PROTOCOL *) &CdDev,
|
(EFI_DEVICE_PATH_PROTOCOL *) &CdDev,
|
||||||
Catalog->Boot.Lba * (SIZE_2KB / Media->BlockSize),
|
Catalog->Boot.Lba * (SIZE_2KB / Media->BlockSize),
|
||||||
(Catalog->Boot.Lba + CdDev.PartitionSize - 1) * (SIZE_2KB / Media->BlockSize),
|
MultU64x32 (Catalog->Boot.Lba + CdDev.PartitionSize - 1, SIZE_2KB / Media->BlockSize),
|
||||||
SubBlockSize,
|
SubBlockSize,
|
||||||
FALSE
|
FALSE
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user