]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/Include/Protocol/VlvPlatformPolicy.h
ArmPkg/CompilerIntrinsicsLib: Add uread, uwrite GCC assembly sources
[mirror_edk2.git] / Vlv2TbltDevicePkg / Include / Protocol / VlvPlatformPolicy.h
1 /**
2 Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
3 SPDX-License-Identifier: BSD-2-Clause-Patent
4
5
6 Module Name:
7
8 VlvPlatformPolicy.h
9
10 Abstract:
11
12 Interface definition details between MCH and platform drivers during DXE phase.
13
14 --*/
15
16 #ifndef _VLV_PLATFORM_POLICY_H_
17 #define _VLV_PLATFORM_POLICY_H_
18
19 //
20 // VLV Policy provided by platform for DXE phase {5BAB88BA-E0E2-4674-B6AD-B812F6881CD6}
21 //
22 #define DXE_VLV_PLATFORM_POLICY_GUID \
23 {0x5bab88ba, 0xe0e2, 0x4674, 0xb6, 0xad, 0xb8, 0x12, 0xf6, 0x88, 0x1c, 0xd6}
24
25 //
26 // Extern the GUID for protocol users.
27 //
28 extern EFI_GUID gDxeVlvPlatformPolicyGuid;
29
30 //
31 // Protocol revision number
32 // Any backwards compatible changes to this protocol will result in an update in the revision number
33 // Major changes will require publication of a new protocol
34 //
35 #define DXE_VLV_PLATFORM_POLICY_PROTOCOL_REVISION 0
36
37
38 typedef struct {
39 UINT8 PFITStatus;
40 UINT8 IgdTheramlSupport;
41 UINT8 ALSEnabled;
42 UINT8 LidStatus;
43 } IGD_PANEL_FEATURES;
44
45 typedef struct {
46 UINT8 Reserved00;
47 UINT8 Reserved01;
48 UINT16 Reserved02;
49 UINT16 Reserved03;
50 UINT16 Reserved04;
51 UINT16 Reserved05;
52 UINT16 Reserved06;
53 UINT16 Reserved07;
54 UINT16 Reserved08;
55 UINT16 Reserved09;
56 UINT16 Reserved0A;
57 UINT16 Reserved0B;
58 UINT16 Reserved0C;
59 UINT16 Reserved0D;
60 UINT8 Reserved0E;
61 UINT8 Reserved0F;
62 UINT32 Reserved10;
63 UINT32 Reserved11;
64 UINT32 Reserved12;
65 UINT32 Reserved13;
66 UINT32 Reserved14;
67 UINT8 Reserved15;
68 UINT8 Reserved16;
69 } DPTF_SETTINGS;
70
71 //
72 // MCH DXE Platform Policiy ==================================================
73 //
74
75 #define NO_AUDIO 0
76 #define HD_AUDIO 1
77 #define LPE_AUDIO 2
78
79 typedef struct _DXE_VLV_PLATFORM_POLICY_PROTOCOL {
80 UINT8 Revision;
81 IGD_PANEL_FEATURES IgdPanelFeatures;
82 DPTF_SETTINGS Reserved;
83 UINT8 GraphicReserve00;
84 UINT8 GraphicsPerfAnalyzers;
85 UINT8 PwmReserved00;
86 UINT8 PwmReserved01;
87 UINT8 PmSupport;
88 UINT8 GraphicReserve01;
89 UINT8 GfxPause;
90 UINT8 GraphicsFreqReq;
91 UINT8 GraphicReserve03;
92 UINT8 GraphicReserve02;
93 UINT8 GraphicReserve04;
94 UINT8 PavpMode;
95 UINT8 GraphicReserve05;
96 UINT8 UlClockGating;
97 UINT8 IdleReserve;
98 UINT8 AudioTypeSupport;
99 UINT8 GraphicReserve06;
100 } DXE_VLV_PLATFORM_POLICY_PROTOCOL;
101
102 #endif