]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/PchInit.h
Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / SouthCluster / Include / Ppi / PchInit.h
CommitLineData
3cbfba02
DW
1/**\r
2**/\r
3/**\r
4\r
5Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved\r
6\r
7 This program and the accompanying materials are licensed and made available under\r
8 the terms and conditions of the BSD License that accompanies this distribution.\r
9 The full text of the license may be found at\r
10 http://opensource.org/licenses/bsd-license.php.\r
11\r
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14\r
15\r
16\r
17 @file\r
18 PchInit.h\r
19\r
20 @brief\r
21 This file defines the PCH Init PPI\r
22\r
23**/\r
24#ifndef _PCH_INIT_H_\r
25#define _PCH_INIT_H_\r
26\r
27//\r
28// Define the PCH Init PPI GUID\r
29//\r
30\r
31\r
32#include <Protocol/PchPlatformPolicy.h>\r
33#define PCH_INIT_PPI_GUID \\r
34 { \\r
35 0x9ea894a, 0xbe0d, 0x4230, 0xa0, 0x3, 0xed, 0xc6, 0x93, 0xb4, 0x8e, 0x95 \\r
36 }\r
37extern EFI_GUID gPchInitPpiGuid;\r
38\r
39///\r
40/// Forward reference for ANSI C compatibility\r
41///\r
42typedef struct _PCH_INIT_PPI PCH_INIT_PPI;\r
43\r
44///\r
45/// Data structure definitions\r
46///\r
47typedef enum _CPU_STRAP_OPERATION {\r
48 GetCpuStrapSetData,\r
49 SetCpuStrapSetData,\r
50 LockCpuStrapSetData\r
51} CPU_STRAP_OPERATION;\r
52\r
53typedef\r
54EFI_STATUS\r
55(EFIAPI *PCH_USB_INIT) (\r
56 IN EFI_PEI_SERVICES **PeiServices\r
57 )\r
58/**\r
59\r
60 @brief\r
61 The function performing USB init in PEI phase. This could be used by USB recovery\r
62 or debug features that need USB initialization during PEI phase.\r
63 Note: Before executing this function, please be sure that PCH_INIT_PPI.Initialize\r
64 has been done and PchUsbPolicyPpi has been installed.\r
65\r
66 @param[in] PeiServices General purpose services available to every PEIM\r
67\r
68 @retval EFI_SUCCESS The function completed successfully\r
69 @retval Others All other error conditions encountered result in an ASSERT.\r
70\r
71**/\r
72;\r
73\r
74///\r
75/// PCH_INIT_PPI Structure Definition\r
76///\r
77struct _PCH_INIT_PPI {\r
78 PCH_USB_INIT UsbInit;\r
79};\r
80\r
81#endif\r