3 Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #ifndef __EFI_RESET_SYSTEM_LIB_H___
11 #define __EFI_RESET_SYSTEM_LIB_H___
15 Resets the entire platform.
17 @param ResetType The type of reset to perform.
18 @param ResetStatus The status code for the reset.
19 @param DataSize The size, in bytes, of WatchdogData.
20 @param ResetData For a ResetType of EfiResetCold, EfiResetWarm, or
21 EfiResetShutdown the data buffer starts with a Null-terminated
22 Unicode string, optionally followed by additional binary data.
28 IN EFI_RESET_TYPE ResetType
,
29 IN EFI_STATUS ResetStatus
,
31 IN CHAR16
*ResetData OPTIONAL
37 Initialize any infrastructure required for LibResetSystem () to function.
39 @param ImageHandle The firmware allocated handle for the EFI image.
40 @param SystemTable A pointer to the EFI System Table.
42 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
47 LibInitializeResetSystem (
48 IN EFI_HANDLE ImageHandle
,
49 IN EFI_SYSTEM_TABLE
*SystemTable