]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/PciBusNoEnumerationDxe/PciBus.h
Fix the bug that Boot Mainteinance Manager in the front page can not be entered twice...
[mirror_edk2.git] / DuetPkg / PciBusNoEnumerationDxe / PciBus.h
index 420c868bbea527adf4220a5b153a16c3238f1bd8..e83f32d7bf55a6436f752ebd15363fa25d1e5f61 100644 (file)
@@ -50,7 +50,7 @@ Revision History
 #include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/DevicePathLib.h>\r
 #include <Library/PcdLib.h>\r
-\r
+#include <Library/PeCoffLib.h>\r
 \r
 //\r
 // Driver Produced Protocol Prototypes\r
@@ -88,7 +88,7 @@ typedef struct {
   UINT8         Offset;\r
 } PCI_BAR;\r
 \r
-#define PCI_IO_DEVICE_SIGNATURE   EFI_SIGNATURE_32 ('p','c','i','o')\r
+#define PCI_IO_DEVICE_SIGNATURE   SIGNATURE_32 ('p','c','i','o')\r
 \r
 #define EFI_BRIDGE_IO32_DECODE_SUPPORTED        0x0001 \r
 #define EFI_BRIDGE_PMEM32_DECODE_SUPPORTED      0x0002 \r
@@ -220,5 +220,6 @@ extern UINT64                      gAllZero;
 \r
 #define IS_ISA_BRIDGE(_p)       IS_CLASS2 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_ISA)  \r
 #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))\r
+#define IS_PCI_GFX(_p)     IS_CLASS2 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_OTHER)\r
 \r
 #endif\r