X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=PcAtChipsetPkg%2FPciHostBridgeDxe%2FPciHostBridge.h;h=42a3d591c00b53c43d7240eefb0b5d8e916e5594;hb=cac2ab9556d7cb0d658098a9df0b657d862a55d5;hp=8c0acc6103325451805e08f033427d51a8e80ae5;hpb=95d48e8299e000aefae3c7682039ce2473648940;p=mirror_edk2.git diff --git a/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h b/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h index 8c0acc6103..42a3d591c0 100644 --- a/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h +++ b/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h @@ -1,7 +1,7 @@ /** @file The Header file of the Pci Host Bridge Driver - Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.
+ Copyright (c) 2008 - 2010, 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 @@ -22,7 +22,6 @@ #include #include -#include #include #include @@ -35,6 +34,8 @@ #include #include #include +#include +#include // // Hard code the host bridge number in the platform. @@ -42,6 +43,16 @@ // #define HOST_BRIDGE_NUMBER 1 +#define MAX_PCI_DEVICE_NUMBER 31 +#define MAX_PCI_FUNCTION_NUMBER 7 +#define MAX_PCI_REG_ADDRESS 0xFF + +typedef enum { + IoOperation, + MemOperation, + PciOperation +} OPERATION_TYPE; + #define PCI_HOST_BRIDGE_SIGNATURE SIGNATURE_32('e', 'h', 's', 't') typedef struct { UINTN Signature; @@ -219,7 +230,6 @@ typedef struct { UINT64 MemLimit; UINT64 IoLimit; - EFI_LOCK PciLock; UINTN PciAddress; UINTN PciData;