]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/PchInit.h
c8aba9c5e62adc3ac0b8508ff120e314890ecf76
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / SouthCluster / Include / Ppi / PchInit.h
1 /**
2 **/
3 /**
4
5 Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved
6
7 SPDX-License-Identifier: BSD-2-Clause-Patent
8
9
10
11 @file
12 PchInit.h
13
14 @brief
15 This file defines the PCH Init PPI
16
17 **/
18 #ifndef _PCH_INIT_H_
19 #define _PCH_INIT_H_
20
21 //
22 // Define the PCH Init PPI GUID
23 //
24
25
26 #include <Protocol/PchPlatformPolicy.h>
27 #define PCH_INIT_PPI_GUID \
28 { \
29 0x9ea894a, 0xbe0d, 0x4230, 0xa0, 0x3, 0xed, 0xc6, 0x93, 0xb4, 0x8e, 0x95 \
30 }
31 extern EFI_GUID gPchInitPpiGuid;
32
33 ///
34 /// Forward reference for ANSI C compatibility
35 ///
36 typedef struct _PCH_INIT_PPI PCH_INIT_PPI;
37
38 ///
39 /// Data structure definitions
40 ///
41 typedef enum _CPU_STRAP_OPERATION {
42 GetCpuStrapSetData,
43 SetCpuStrapSetData,
44 LockCpuStrapSetData
45 } CPU_STRAP_OPERATION;
46
47 typedef
48 EFI_STATUS
49 (EFIAPI *PCH_USB_INIT) (
50 IN EFI_PEI_SERVICES **PeiServices
51 )
52 /**
53
54 @brief
55 The function performing USB init in PEI phase. This could be used by USB recovery
56 or debug features that need USB initialization during PEI phase.
57 Note: Before executing this function, please be sure that PCH_INIT_PPI.Initialize
58 has been done and PchUsbPolicyPpi has been installed.
59
60 @param[in] PeiServices General purpose services available to every PEIM
61
62 @retval EFI_SUCCESS The function completed successfully
63 @retval Others All other error conditions encountered result in an ASSERT.
64
65 **/
66 ;
67
68 ///
69 /// PCH_INIT_PPI Structure Definition
70 ///
71 struct _PCH_INIT_PPI {
72 PCH_USB_INIT UsbInit;
73 };
74
75 #endif