X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=DuetPkg%2FPciRootBridgeNoEnumerationDxe%2FPcatPciRootBridge.h;h=0450fcf672764a4e695fd96bae5fab0c421f925e;hb=579ac2064ba4dc12ffe8306424e675c08892b5df;hp=23b9fd7c06460e750141e3ae995c821b08b05799;hpb=a51a9ea3643c5f348d927ba0c23deafeee5b0bf2;p=mirror_edk2.git diff --git a/DuetPkg/PciRootBridgeNoEnumerationDxe/PcatPciRootBridge.h b/DuetPkg/PciRootBridgeNoEnumerationDxe/PcatPciRootBridge.h index 23b9fd7c06..0450fcf672 100644 --- a/DuetPkg/PciRootBridgeNoEnumerationDxe/PcatPciRootBridge.h +++ b/DuetPkg/PciRootBridgeNoEnumerationDxe/PcatPciRootBridge.h @@ -1,7 +1,7 @@ /*++ -Copyright (c) 2005 - 2006, Intel Corporation -All rights reserved. This program and the accompanying materials +Copyright (c) 2005 - 2006, Intel Corporation. All rights reserved.
+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 @@ -24,7 +24,7 @@ Abstract: #include #include #include -#include +#include #include #include @@ -54,7 +54,7 @@ typedef struct { EFI_DEVICE_PATH_PROTOCOL *DevicePath; EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL Io; - EFI_CPU_IO_PROTOCOL *CpuIo; + EFI_CPU_IO2_PROTOCOL *CpuIo; UINT32 RootBridgeNumber; UINT32 PrimaryBus; @@ -209,6 +209,26 @@ GetPciExpressBaseAddressForRootBridge ( IN UINTN RootBridgeNumber ); +EFI_STATUS +EFIAPI +PcatRootBridgeIoIoRead ( + IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, + IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, + IN UINT64 UserAddress, + IN UINTN Count, + IN OUT VOID *UserBuffer + ); + +EFI_STATUS +EFIAPI +PcatRootBridgeIoIoWrite ( + IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, + IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, + IN UINT64 UserAddress, + IN UINTN Count, + IN OUT VOID *UserBuffer + ); + // // Driver entry point prototype // @@ -219,6 +239,6 @@ InitializePcatPciRootBridge ( IN EFI_SYSTEM_TABLE *SystemTable ); -extern EFI_CPU_IO_PROTOCOL *gCpuIo; +extern EFI_CPU_IO2_PROTOCOL *gCpuIo; #endif