public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [patch] MdeModulePkg/PciHostBridgeDxe: Fix EBC build failure
@ 2017-05-18  2:07 Dandan Bi
  2017-05-18  2:10 ` Yao, Jiewen
  0 siblings, 1 reply; 2+ messages in thread
From: Dandan Bi @ 2017-05-18  2:07 UTC (permalink / raw)
  To: edk2-devel; +Cc: Jiewen Yao

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [patch] MdeModulePkg/PciHostBridgeDxe: Fix EBC build failure
  2017-05-18  2:07 [patch] MdeModulePkg/PciHostBridgeDxe: Fix EBC build failure Dandan Bi
@ 2017-05-18  2:10 ` Yao, Jiewen
  0 siblings, 0 replies; 2+ messages in thread
From: Yao, Jiewen @ 2017-05-18  2:10 UTC (permalink / raw)
  To: Bi, Dandan, edk2-devel@lists.01.org

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-18  2:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-18  2:07 [patch] MdeModulePkg/PciHostBridgeDxe: Fix EBC build failure Dandan Bi
2017-05-18  2:10 ` Yao, Jiewen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox