]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2TbltDevicePkg/Include/Protocol/CK505ClockPlatformInfo.h
UefiCpuPkg: Fix comment typo for MtrrLibApplyFixedMtrrs function
[mirror_edk2.git] / Vlv2TbltDevicePkg / Include / Protocol / CK505ClockPlatformInfo.h
CommitLineData
3cbfba02
DW
1/*++\r
2\r
3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>\r
4 \r\r
5 This program and the accompanying materials are licensed and made available under\r\r
6 the terms and conditions of the BSD License that accompanies this distribution. \r\r
7 The full text of the license may be found at \r\r
8 http://opensource.org/licenses/bsd-license.php. \r\r
9 \r\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r
12 \r\r
13\r
14Module Name:\r
15\r
16 CK505ClockPlatformInfo.h\r
17\r
18Abstract:\r
19\r
20 Protocol to communicate product clock routing information.\r
21\r
22GUID Info:\r
23 {3C485EA4-449A-46ce-BB08-2A336EA96B4E}\r
24 0x3c485ea4, 0x449a, 0x46ce, 0xbb, 0x8, 0x2a, 0x33, 0x6e, 0xa9, 0x6b, 0x4e);\r
25\r
26**/\r
27\r
28#ifndef _CLOCK_PLATFORM_INFO_H_\r
29#define _CLOCK_PLATFORM_INFO_H_\r
30\r
31\r
32#define EFI_CK505_CLOCK_PLATFORM_INFO_GUID \\r
33 {0x3c485ea4, 0x449a, 0x46ce, 0xbb, 0x8, 0x2a, 0x33, 0x6e, 0xa9, 0x6b, 0x4e}\r
34\r
35//\r
36// Structure to hold register modifications\r
37//\r
38typedef enum {\r
39 None = 0x00000000,\r
40 nICS9LP505_1 = 0x00000001,\r
41 nICS9LP505_2 = 0x00000002,\r
42 nIDTCV163 = 0x00000004,\r
43 nIDTCV174 = 0x00000008,\r
44 nSLG505YC56 = 0x00000010,\r
45 nSLG505YC64 = 0x00000020,\r
46 nCY28505 = 0x00000040,\r
47 nCY28505_2 = 0x00000080,\r
48 nCY28505LF = 0x00000100,\r
49 nPI6C505_OLD = 0x00000200,\r
50 nPI6C505_RevD = 0x00000400,\r
51 nGENERIC_505 = 0x00000800,\r
52 nSLG505YC264 = 0x00001000,\r
53 nIDTCV183 = 0x00002000,\r
54 nSLG505YC256 = 0x00004000,\r
55 nIDTCV184 = 0x00008000,\r
56 nIDTCV190 = 0x00010000,\r
57 All = 0xFFFFFFFF\r
58} EFI_CLOCKS_SUPPORTED;\r
59\r
60typedef enum {\r
61 Disabled,\r
62 Enabled,\r
63 EnabledWithoutSwitch,\r
64 EnabledWithSwitch\r
65} EFI_SIGNAL_STATE;\r
66\r
67typedef enum {\r
68 SrcClk11,\r
69 SrcClk10,\r
70 SrcClk9,\r
71 SrcClk8,\r
72 SrcClk7,\r
73 SrcClk6,\r
74 SrcClk5,\r
75 SrcClk4,\r
76 SrcClk3,\r
77 SrcClk2,\r
78 SrcClk1,\r
79 SrcClk0,\r
80 CpuClk1,\r
81 CpuClk0,\r
82 Ref0,\r
83 Dot96,\r
84 Usb48,\r
85 PciClkF5,\r
86 PciClk4,\r
87 PciClk3,\r
88 PciClk2,\r
89 PciClk1,\r
90 PciClk0,\r
91 SaveClockConfiguration,\r
92 MePresent,\r
93 Cr_A,\r
94 Cr_B,\r
95 Cr_C,\r
96 Cr_D,\r
97 Cr_E,\r
98 Cr_F,\r
99 Cr_G,\r
100 Cr_H,\r
101 Clk_None // Dummy entry for dynamic detection\r
102} EFI_CLOCK_SIGNAL_NAME;\r
103\r
104typedef struct {\r
105 EFI_CLOCK_SIGNAL_NAME Signal;\r
106 EFI_SIGNAL_STATE State;\r
107 EFI_CLOCKS_SUPPORTED Supported;\r
108} EFI_STATIC_SIGNALS;\r
109\r
110typedef struct {\r
111 BOOLEAN BehindBridge;\r
112 UINT16 BridgeBus;\r
113 UINT16 BridgeDev;\r
114 UINT16 BridgeFunction;\r
115 UINT16 TargetDevice;\r
116 EFI_CLOCK_SIGNAL_NAME Signal;\r
117} EFI_DYNAMIC_SIGNALS;\r
118\r
119\r
120typedef struct {\r
121 EFI_STATIC_SIGNALS *StaticClockTable;\r
122 UINTN StaticClockTableCount;\r
123 EFI_STATIC_SIGNALS *SxClockTable;\r
124 UINTN SxClockTableCount;\r
125 EFI_STATIC_SIGNALS *DynamicDisabledClocksTable;\r
126 UINTN DynamicDisabledClocksTableCount;\r
127} EFI_CLOCK_PLATFORM_INFO;\r
128\r
129extern EFI_GUID gEfiCk505ClockPlatformInfoGuid;\r
130\r
131#endif\r