X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=DuetPkg%2FPciBusNoEnumerationDxe%2FPciBus.h;h=3ddb5bfb854941ce448ec5aeddb593bf4da5e90a;hb=815119f3d95581317847a5288b20c7426c0f45a6;hp=fe974bee33270f75cb686853147b015fb184188f;hpb=a397f1b06eef1fe66af07a6a85566acaea537fa7;p=mirror_edk2.git diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h index fe974bee33..3ddb5bfb85 100644 --- a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h +++ b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h @@ -1,7 +1,7 @@ /*++ -Copyright (c) 2005 - 2007, Intel Corporation -All rights reserved. This program and the accompanying materials +Copyright (c) 2005 - 2007, 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 @@ Revision History #ifndef _EFI_PCI_BUS_H #define _EFI_PCI_BUS_H -#include +#include #include #include @@ -50,7 +50,7 @@ Revision History #include #include #include - +#include // // Driver Produced Protocol Prototypes @@ -88,7 +88,7 @@ typedef struct { UINT8 Offset; } PCI_BAR; -#define PCI_IO_DEVICE_SIGNATURE EFI_SIGNATURE_32 ('p','c','i','o') +#define PCI_IO_DEVICE_SIGNATURE SIGNATURE_32 ('p','c','i','o') #define EFI_BRIDGE_IO32_DECODE_SUPPORTED 0x0001 #define EFI_BRIDGE_PMEM32_DECODE_SUPPORTED 0x0002 @@ -204,8 +204,8 @@ extern EFI_COMPONENT_NAME2_PROTOCOL gPciBusComponentName2; extern EFI_DRIVER_BINDING_PROTOCOL gPciBusDriverBinding; extern BOOLEAN gFullEnumeration; -static UINT64 gAllOne = 0xFFFFFFFFFFFFFFFFULL; -static UINT64 gAllZero = 0; +extern UINT64 gAllOne; +extern UINT64 gAllZero; #include "PciIo.h" #include "PciCommand.h" @@ -220,5 +220,6 @@ static UINT64 gAllZero = 0; #define IS_ISA_BRIDGE(_p) IS_CLASS2 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_ISA) #define IS_INTEL_ISA_BRIDGE(_p) (IS_CLASS2 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_ISA_PDECODE) && ((_p)->Hdr.VendorId == 0x8086) && ((_p)->Hdr.DeviceId == 0x7110)) +#define IS_PCI_GFX(_p) IS_CLASS2 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_OTHER) #endif