[edk2] [patch] MdeModulePkg/PciHostBridgeDxe: Fix EBC build failure

Dandan Bi posted 1 patch 6 years, 11 months ago
Failed in applying to current master (apply log)
MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[edk2] [patch] MdeModulePkg/PciHostBridgeDxe: Fix EBC build failure
Posted by Dandan Bi 6 years, 11 months ago
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c
index 068295b..a0e7e5b 100644
--- a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c
+++ b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c
@@ -1,10 +1,10 @@
 /** @file
 
   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
 http://opensource.org/licenses/bsd-license.php
 
@@ -1083,11 +1083,11 @@ RootBridgeIoMap (
         Operation = (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_OPERATION) (Operation - EfiPciOperationBusMasterRead64);
       }
     }
     Status = mIoMmuProtocol->Map (
                                mIoMmuProtocol,
-                               Operation,
+                               (EDKII_IOMMU_OPERATION) Operation,
                                HostAddress,
                                NumberOfBytes,
                                DeviceAddress,
                                Mapping
                                );
-- 
1.9.5.msysgit.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [patch] MdeModulePkg/PciHostBridgeDxe: Fix EBC build failure
Posted by Yao, Jiewen 6 years, 11 months ago
Reviewed-by: Jiewen.yao@Intel.com

> -----Original Message-----
> From: Bi, Dandan
> Sent: Thursday, May 18, 2017 10:08 AM
> To: edk2-devel@lists.01.org
> Cc: Yao, Jiewen <jiewen.yao@intel.com>
> Subject: [patch] 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>
> ---
>  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c
> b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c
> index 068295b..a0e7e5b 100644
> --- a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c
> +++ b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c
> @@ -1,10 +1,10 @@
>  /** @file
> 
>    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
>  http://opensource.org/licenses/bsd-license.php
> 
> @@ -1083,11 +1083,11 @@ RootBridgeIoMap (
>          Operation = (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_OPERATION)
> (Operation - EfiPciOperationBusMasterRead64);
>        }
>      }
>      Status = mIoMmuProtocol->Map (
>                                 mIoMmuProtocol,
> -                               Operation,
> +                               (EDKII_IOMMU_OPERATION) Operation,
>                                 HostAddress,
>                                 NumberOfBytes,
>                                 DeviceAddress,
>                                 Mapping
>                                 );
> --
> 1.9.5.msysgit.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel