]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | /** \r |
2 | Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\r | |
3 | This program and the accompanying materials\r | |
4 | are licensed and made available under the terms and conditions of the BSD License\r | |
5 | which accompanies this distribution. The full text of the license may be found at\r | |
6 | http://opensource.org/licenses/bsd-license.php\r | |
7 | \r | |
8 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
9 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
10 | \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | VlvPlatformPolicy.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Interface definition details between MCH and platform drivers during DXE phase.\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef _VLV_PLATFORM_POLICY_H_\r | |
23 | #define _VLV_PLATFORM_POLICY_H_\r | |
24 | \r | |
25 | //\r | |
26 | // VLV Policy provided by platform for DXE phase {5BAB88BA-E0E2-4674-B6AD-B812F6881CD6}\r | |
27 | //\r | |
28 | #define DXE_VLV_PLATFORM_POLICY_GUID \\r | |
29 | {0x5bab88ba, 0xe0e2, 0x4674, 0xb6, 0xad, 0xb8, 0x12, 0xf6, 0x88, 0x1c, 0xd6}\r | |
30 | \r | |
31 | //\r | |
32 | // Extern the GUID for protocol users.\r | |
33 | //\r | |
34 | extern EFI_GUID gDxeVlvPlatformPolicyGuid;\r | |
35 | \r | |
36 | //\r | |
37 | // Protocol revision number\r | |
38 | // Any backwards compatible changes to this protocol will result in an update in the revision number\r | |
39 | // Major changes will require publication of a new protocol\r | |
40 | //\r | |
41 | #define DXE_VLV_PLATFORM_POLICY_PROTOCOL_REVISION 0\r | |
42 | \r | |
43 | \r | |
44 | typedef struct {\r | |
45 | UINT8 PFITStatus;\r | |
46 | UINT8 IgdTheramlSupport;\r | |
47 | UINT8 ALSEnabled;\r | |
48 | UINT8 LidStatus;\r | |
49 | } IGD_PANEL_FEATURES;\r | |
50 | \r | |
51 | typedef struct {\r | |
52 | UINT8 Reserved00; \r | |
53 | UINT8 Reserved01; \r | |
54 | UINT16 Reserved02; \r | |
55 | UINT16 Reserved03; \r | |
56 | UINT16 Reserved04; \r | |
57 | UINT16 Reserved05; \r | |
58 | UINT16 Reserved06; \r | |
59 | UINT16 Reserved07; \r | |
60 | UINT16 Reserved08; \r | |
61 | UINT16 Reserved09; \r | |
62 | UINT16 Reserved0A; \r | |
63 | UINT16 Reserved0B;\r | |
64 | UINT16 Reserved0C;\r | |
65 | UINT16 Reserved0D;\r | |
66 | UINT8 Reserved0E;\r | |
67 | UINT8 Reserved0F;\r | |
68 | UINT32 Reserved10;\r | |
69 | UINT32 Reserved11;\r | |
70 | UINT32 Reserved12;\r | |
71 | UINT32 Reserved13;\r | |
72 | UINT32 Reserved14;\r | |
73 | UINT8 Reserved15;\r | |
74 | UINT8 Reserved16;\r | |
75 | } DPTF_SETTINGS;\r | |
76 | \r | |
77 | //\r | |
78 | // MCH DXE Platform Policiy ==================================================\r | |
79 | //\r | |
80 | \r | |
81 | #define NO_AUDIO 0\r | |
82 | #define HD_AUDIO 1\r | |
83 | #define LPE_AUDIO 2\r | |
84 | \r | |
85 | typedef struct _DXE_VLV_PLATFORM_POLICY_PROTOCOL {\r | |
86 | UINT8 Revision;\r | |
87 | IGD_PANEL_FEATURES IgdPanelFeatures;\r | |
88 | DPTF_SETTINGS Reserved;\r | |
89 | UINT8 GraphicReserve00;\r | |
90 | UINT8 GraphicsPerfAnalyzers;\r | |
91 | UINT8 PwmReserved00;\r | |
92 | UINT8 PwmReserved01; \r | |
93 | UINT8 PmSupport;\r | |
94 | UINT8 GraphicReserve01;\r | |
95 | UINT8 GfxPause;\r | |
96 | UINT8 GraphicsFreqReq;\r | |
97 | UINT8 GraphicReserve03;\r | |
98 | UINT8 GraphicReserve02;\r | |
99 | UINT8 GraphicReserve04;\r | |
100 | UINT8 PavpMode;\r | |
101 | UINT8 GraphicReserve05;\r | |
102 | UINT8 UlClockGating;\r | |
103 | UINT8 IdleReserve;\r | |
104 | UINT8 AudioTypeSupport;\r | |
105 | UINT8 GraphicReserve06;\r | |
106 | } DXE_VLV_PLATFORM_POLICY_PROTOCOL;\r | |
107 | \r | |
108 | #endif\r |