3 Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #ifndef __EFI_RESET_SYSTEM_LIB_H___
17 #define __EFI_RESET_SYSTEM_LIB_H___
21 Resets the entire platform.
23 @param ResetType The type of reset to perform.
24 @param ResetStatus The status code for the reset.
25 @param DataSize The size, in bytes, of WatchdogData.
26 @param ResetData For a ResetType of EfiResetCold, EfiResetWarm, or
27 EfiResetShutdown the data buffer starts with a Null-terminated
28 Unicode string, optionally followed by additional binary data.
34 IN EFI_RESET_TYPE ResetType
,
35 IN EFI_STATUS ResetStatus
,
37 IN CHAR16
*ResetData OPTIONAL
43 Initialize any infrastructure required for LibResetSystem () to function.
45 @param ImageHandle The firmware allocated handle for the EFI image.
46 @param SystemTable A pointer to the EFI System Table.
48 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
53 LibInitializeResetSystem (
54 IN EFI_HANDLE ImageHandle
,
55 IN EFI_SYSTEM_TABLE
*SystemTable