]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - PcAtChipsetPkg/KbcResetDxe/Reset.h
Update the copyright notice format
[mirror_edk2.git] / PcAtChipsetPkg / KbcResetDxe / Reset.h
... / ...
CommitLineData
1/** @file\r
2\r
3 Definitions for reset\r
4\r
5Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved. <BR>\r
6This program and the accompanying materials \r
7are licensed and made available under the terms and conditions of the BSD License \r
8which accompanies this distribution. The full text of the license may be found at \r
9http://opensource.org/licenses/bsd-license.php \r
10 \r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
13\r
14**/\r
15\r
16#ifndef _KBC_RESET_H\r
17#define _KBC_RESET_H\r
18\r
19#include <PiDxe.h>\r
20\r
21#include <Library/IoLib.h>\r
22#include <Library/DebugLib.h>\r
23#include <Library/DebugLib.h>\r
24#include <Library/UefiBootServicesTableLib.h>\r
25\r
26#include <Protocol/Reset.h>\r
27\r
28/**\r
29 Initialize the state information for the Reset Architectural Protocol\r
30\r
31 @param ImageHandle Handle of the loaded driver \r
32 @param SystemTable Pointer to the System Table\r
33\r
34 @retval EFI_SUCCESS Thread can be successfully created\r
35 @retval EFI_OUT_OF_RESOURCES Cannot allocate protocol data structure\r
36 @retval EFI_DEVICE_ERROR Cannot create the timer service\r
37\r
38**/\r
39EFI_STATUS\r
40EFIAPI\r
41InitializeReset (\r
42 IN EFI_HANDLE ImageHandle,\r
43 IN EFI_SYSTEM_TABLE *SystemTable\r
44 )\r
45;\r
46\r
47/**\r
48 Reset the system.\r
49\r
50 @param ResetType warm or cold\r
51 @param ResetStatus possible cause of reset\r
52 @param DataSize Size of ResetData in bytes\r
53 @param ResetData Optional Unicode string\r
54\r
55**/\r
56VOID\r
57EFIAPI\r
58KbcResetSystem (\r
59 IN EFI_RESET_TYPE ResetType,\r
60 IN EFI_STATUS ResetStatus,\r
61 IN UINTN DataSize,\r
62 IN VOID *ResetData OPTIONAL\r
63 )\r
64;\r
65\r
66#endif\r