]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/PciHostBridgeDxe: Fix EBC build failure
authorDandan Bi <dandan.bi@intel.com>
Thu, 18 May 2017 01:51:42 +0000 (09:51 +0800)
committerHao Wu <hao.a.wu@intel.com>
Thu, 18 May 2017 08:44:26 +0000 (16:44 +0800)
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>
MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c

index 068295b7c0b30edb2996401c7e94acb2d724701e..a0e7e5b6f2551fd47f7e4e18425422d0e8e628d2 100644 (file)
@@ -2,7 +2,7 @@
 \r
   PCI Root Bridge Io Protocol code.\r
 \r
 \r
   PCI Root Bridge Io Protocol code.\r
 \r
-Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 1999 - 2017, 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
 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
@@ -1085,7 +1085,7 @@ RootBridgeIoMap (
     }\r
     Status = mIoMmuProtocol->Map (\r
                                mIoMmuProtocol,\r
     }\r
     Status = mIoMmuProtocol->Map (\r
                                mIoMmuProtocol,\r
-                               Operation,\r
+                               (EDKII_IOMMU_OPERATION) Operation,\r
                                HostAddress,\r
                                NumberOfBytes,\r
                                DeviceAddress,\r
                                HostAddress,\r
                                NumberOfBytes,\r
                                DeviceAddress,\r