X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=DuetPkg%2FPciBusNoEnumerationDxe%2FPciBus.h;h=039967a98e77473c56f5c71e07a68f456efa3632;hb=1833218d9313d29499afdd81203decb9b5d9bf07;hp=fe974bee33270f75cb686853147b015fb184188f;hpb=a397f1b06eef1fe66af07a6a85566acaea537fa7;p=mirror_edk2.git diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h index fe974bee33..039967a98e 100644 --- a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h +++ b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h @@ -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