]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/Include/Library/EfiResetSystemLib.h
DynamicTablesPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / EmbeddedPkg / Include / Library / EfiResetSystemLib.h
CommitLineData
2ef2b01e
A
1/** @file\r
2\r
60274cca 3 Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
2ef2b01e 4\r
60274cca 5 This program and the accompanying materials\r
2ef2b01e
A
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. 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
15\r
16#ifndef __EFI_RESET_SYSTEM_LIB_H___\r
17#define __EFI_RESET_SYSTEM_LIB_H___\r
18\r
19\r
20/**\r
21 Resets the entire platform.\r
22\r
23 @param ResetType The type of reset to perform.\r
24 @param ResetStatus The status code for the reset.\r
25 @param DataSize The size, in bytes, of WatchdogData.\r
26 @param ResetData For a ResetType of EfiResetCold, EfiResetWarm, or\r
27 EfiResetShutdown the data buffer starts with a Null-terminated\r
28 Unicode string, optionally followed by additional binary data.\r
29\r
30**/\r
31EFI_STATUS\r
32EFIAPI\r
33LibResetSystem (\r
34 IN EFI_RESET_TYPE ResetType,\r
35 IN EFI_STATUS ResetStatus,\r
36 IN UINTN DataSize,\r
37 IN CHAR16 *ResetData OPTIONAL\r
38 );\r
3402aac7 39\r
2ef2b01e
A
40\r
41\r
42/**\r
43 Initialize any infrastructure required for LibResetSystem () to function.\r
44\r
45 @param ImageHandle The firmware allocated handle for the EFI image.\r
46 @param SystemTable A pointer to the EFI System Table.\r
3402aac7 47\r
2ef2b01e
A
48 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.\r
49\r
50**/\r
51EFI_STATUS\r
52EFIAPI\r
53LibInitializeResetSystem (\r
54 IN EFI_HANDLE ImageHandle,\r
55 IN EFI_SYSTEM_TABLE *SystemTable\r
56 );\r
57\r
58#endif\r