]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Protocol/TcoReset.h
Vlv2DeviceRefCodePkg/ValleyView2Soc: Remove the unused code
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / SouthCluster / Include / Protocol / TcoReset.h
CommitLineData
3cbfba02
DW
1/*++\r
2\r
3Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved\r
4\r
5 This program and the accompanying materials are licensed and made available under\r
6 the terms and conditions of the BSD License that accompanies this distribution.\r
7 The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php.\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13\r
14\r
15Module Name:\r
16\r
17 TcoReset.h\r
18\r
19Abstract:\r
20\r
21 Protocol to communicate with ICH TCO.\r
22\r
23GUID Info:\r
24 {A6A79162-E325-4c30-BCC3-59373064EFB3}\r
25 0xa6a79162, 0xe325, 0x4c30, 0xbc, 0xc3, 0x59, 0x37, 0x30, 0x64, 0xef, 0xb3);\r
26\r
27\r
28--*/\r
29\r
30#ifndef _TCO_RESET_H_\r
31#define _TCO_RESET_H_\r
32\r
33\r
34#define EFI_TCO_RESET_PROTOCOL_GUID \\r
35 {0xa6a79162, 0xe325, 0x4c30, 0xbc, 0xc3, 0x59, 0x37, 0x30, 0x64, 0xef, 0xb3}\r
36\r
37typedef struct _EFI_TCO_RESET_PROTOCOL EFI_TCO_RESET_PROTOCOL;\r
38\r
39typedef\r
40EFI_STATUS\r
41(EFIAPI *EFI_TCO_RESET_PROTOCOL_ENABLE_TCO_RESET) (\r
42 IN UINT32 *RcrbGcsSaveValue\r
43 )\r
44/*++\r
45\r
46Routine Description:\r
47\r
48 Enables the TCO timer to reset the system in case of a system hang. This is\r
49 used when writing the clock registers.\r
50\r
51Arguments:\r
52\r
53 RcrbGcsSaveValue - This is the value of the RCRB GCS register before it is\r
54 changed by this procedure. This will be used to restore\r
55 the settings of this register in PpiDisableTcoReset.\r
56\r
57Returns:\r
58\r
59 EFI_STATUS\r
60\r
61--*/\r
62;\r
63\r
64typedef\r
65EFI_STATUS\r
66(EFIAPI *EFI_TCO_RESET_PROTOCOL_DISABLE_TCO_RESET) (\r
67 OUT UINT32 RcrbGcsRestoreValue\r
68 )\r
69/*++\r
70\r
71Routine Description:\r
72\r
73 Disables the TCO timer. This is used after writing the clock registers.\r
74\r
75Arguments:\r
76\r
77 RcrbGcsRestoreValue - Value saved in PpiEnableTcoReset so that it can\r
78 restored.\r
79\r
80Returns:\r
81\r
82 EFI_STATUS\r
83\r
84--*/\r
85;\r
86\r
87typedef struct _EFI_TCO_RESET_PROTOCOL {\r
88 EFI_TCO_RESET_PROTOCOL_ENABLE_TCO_RESET EnableTcoReset;\r
89 EFI_TCO_RESET_PROTOCOL_DISABLE_TCO_RESET DisableTcoReset;\r
90} EFI_TCO_RESET_PROTOCOL;\r
91\r
92extern EFI_GUID gEfiTcoResetProtocolGuid;\r
93\r
94#endif\r