]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/Pci22.h
MdePkg: Add HTTP 1.1 industry standard definitions.
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Pci22.h
index ad4b79d43f4b0fe339b41376df5e7b76d56254bb..78ec6b316629fc9d876413924011da7dd6c44d50 100644 (file)
@@ -6,7 +6,10 @@
     PCI-to-PCI Bridge Architecture Specification, Revision 1.2\r
     PC Card Standard, 8.0\r
 \r
+  \r
+\r
   Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2105, Hewlett-Packard Development Company, L.P.<BR>\r
   This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
@@ -549,6 +552,7 @@ typedef struct {
 #define PCI_BRIDGE_PRIMARY_BUS_REGISTER_OFFSET      0x18   \r
 #define PCI_BRIDGE_SECONDARY_BUS_REGISTER_OFFSET    0x19   \r
 #define PCI_BRIDGE_SUBORDINATE_BUS_REGISTER_OFFSET  0x1a   \r
+#define PCI_BRIDGE_SECONDARY_LATENCY_TIMER_OFFSET   0x1b\r
 #define PCI_BRIDGE_STATUS_REGISTER_OFFSET           0x1E   \r
 #define PCI_BRIDGE_CONTROL_REGISTER_OFFSET          0x3E   \r
 \r
@@ -654,6 +658,42 @@ typedef struct {
   UINT8                   Data;\r
 } EFI_PCI_CAPABILITY_PMI;\r
 \r
+///\r
+/// PMC - Power Management Capabilities\r
+/// Section 3.2.3, PCI Power Management Interface Specifiction, Revision 1.2\r
+///\r
+typedef union {\r
+  struct {\r
+    UINT16 Version : 3;\r
+    UINT16 PmeClock : 1;\r
+    UINT16 : 1;\r
+    UINT16 DeviceSpecificInitialization : 1;\r
+    UINT16 AuxCurrent : 3;\r
+    UINT16 D1Support : 1;\r
+    UINT16 D2Support : 1;\r
+    UINT16 PmeSupport : 5;\r
+  } Bits;\r
+  UINT16 Data;\r
+} EFI_PCI_PMC;\r
+\r
+#define EFI_PCI_PMC_D3_COLD_MASK    (BIT15)\r
+\r
+///\r
+/// PMCSR - Power Management Control/Status\r
+/// Section 3.2.4, PCI Power Management Interface Specifiction, Revision 1.2\r
+///\r
+typedef union {\r
+  struct {\r
+    UINT16 PowerState : 2;\r
+    UINT16 : 6;\r
+    UINT16 PmeEnable : 1;\r
+    UINT16 DataSelect : 4;\r
+    UINT16 DataScale : 2;\r
+    UINT16 PmeStatus : 1;\r
+  } Bits;\r
+  UINT16 Data;\r
+} EFI_PCI_PMCSR;\r
+\r
 ///\r
 /// A.G.P Capability\r
 /// Section 6.1.4, Accelerated Graphics Port Interface Specification, Revision 1.0\r