summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2017-05-18 09:51:42 +0800
committerStar Zeng <star.zeng@intel.com>2018-06-06 16:28:02 +0800
commitac8d86234d0b2672d62079c35c9a8629c3dad987 (patch)
treec25b26c0d5ed4ab78fcacfa554dc1627b8c1642e
parentf09d6323b1b0596fbb14c72090a734106ef54127 (diff)
downloadedk2-ac8d86234d0b2672d62079c35c9a8629c3dad987.tar.gz
edk2-ac8d86234d0b2672d62079c35c9a8629c3dad987.tar.bz2
edk2-ac8d86234d0b2672d62079c35c9a8629c3dad987.zip
MdeModulePkg/PciHostBridgeDxe: Fix EBC build failure
Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> (cherry picked from commit 7a85e8474127ae6df47337a04797b2b443b57682)
-rw-r--r--MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c
index 068295b7c0..a0e7e5b6f2 100644
--- a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c
+++ b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c
@@ -2,7 +2,7 @@
PCI Root Bridge Io Protocol code.
-Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 1999 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
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
@@ -1085,7 +1085,7 @@ RootBridgeIoMap (
}
Status = mIoMmuProtocol->Map (
mIoMmuProtocol,
- Operation,
+ (EDKII_IOMMU_OPERATION) Operation,
HostAddress,
NumberOfBytes,
DeviceAddress,