]> git.proxmox.com Git - mirror_edk2.git/blame - PcAtChipsetPkg/KbcResetDxe/Reset.h
Refine the file/function comments to follow doxygen format
[mirror_edk2.git] / PcAtChipsetPkg / KbcResetDxe / Reset.h
CommitLineData
18c97f53 1/** @file\r
c69dd9df 2\r
18c97f53 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
c69dd9df 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
18c97f53 14**/\r
c69dd9df 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
18c97f53 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
c69dd9df 39EFI_STATUS\r
40EFIAPI\r
41InitializeReset (\r
42 IN EFI_HANDLE ImageHandle,\r
43 IN EFI_SYSTEM_TABLE *SystemTable\r
44 )\r
18c97f53 45;\r
c69dd9df 46\r
18c97f53 47/**\r
48 Reset the system.\r
c69dd9df 49\r
18c97f53 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
c69dd9df 54\r
18c97f53 55**/\r
c69dd9df 56VOID\r
57EFIAPI\r
58KbcResetSystem (\r
59 IN EFI_RESET_TYPE ResetType,\r
60 IN EFI_STATUS ResetStatus,\r
61 IN UINTN DataSize,\r
3a0a1473 62 IN VOID *ResetData OPTIONAL\r
c69dd9df 63 )\r
c69dd9df 64;\r
65\r
66#endif\r