]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Protocol/PchInfo.h
Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / SouthCluster / Include / Protocol / PchInfo.h
diff --git a/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Protocol/PchInfo.h b/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Protocol/PchInfo.h
new file mode 100644 (file)
index 0000000..2a3e2b2
--- /dev/null
@@ -0,0 +1,66 @@
+/**\r
+**/\r
+/**\r
+\r
+Copyright (c) 2012  - 2014, Intel Corporation. All rights reserved\r
+\r
+  This program and the accompanying materials are licensed and made available under\r
+  the terms and conditions of the BSD License that accompanies this distribution.\r
+  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php.\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+\r
+\r
+  @file\r
+  PchInfo.h\r
+\r
+  @brief\r
+  This file defines the PCH Info Protocol.\r
+\r
+**/\r
+#ifndef _PCH_INFO_H_\r
+#define _PCH_INFO_H_\r
+\r
+\r
+#define EFI_PCH_INFO_PROTOCOL_GUID \\r
+  { \\r
+    0xd31f0400, 0x7d16, 0x4316, 0xbf, 0x88, 0x60, 0x65, 0x88, 0x3b, 0x40, 0x2b \\r
+  }\r
+extern EFI_GUID                       gEfiPchInfoProtocolGuid;\r
+\r
+///\r
+/// Forward reference for ANSI C compatibility\r
+///\r
+typedef struct _EFI_PCH_INFO_PROTOCOL EFI_PCH_INFO_PROTOCOL;\r
+\r
+///\r
+/// Protocol revision number\r
+/// Any backwards compatible changes to this protocol will result in an update in the revision number\r
+/// Major changes will require publication of a new protocol\r
+///\r
+/// Revision 1:  Original version\r
+///\r
+#define PCH_INFO_PROTOCOL_REVISION_1  1\r
+#define PCH_INFO_PROTOCOL_REVISION_2  2\r
+\r
+///\r
+/// RCVersion[7:0] is the release number.\r
+/// For example:\r
+/// VlvFramework 0.6.0-01 should be 00 06 00 01 (0x00060001)\r
+/// VlvFramework 0.6.2    should be 00 06 02 00 (0x00060200)\r
+///\r
+#define PCH_RC_VERSION                0x01000000\r
+\r
+///\r
+/// Protocol definition\r
+///\r
+struct _EFI_PCH_INFO_PROTOCOL {\r
+  UINT8   Revision;\r
+  UINT8   BusNumber;\r
+  UINT32  RCVersion;\r
+};\r
+\r
+#endif\r