2 Null Reset System Library instance that only generates ASSERT() conditions.
4 Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #include <Library/ResetSystemLib.h>
12 #include <Library/DebugLib.h>
15 This function causes a system-wide reset (cold reset), in which
16 all circuitry within the system returns to its initial state. This type of reset
17 is asynchronous to system operation and operates without regard to
20 If this function returns, it means that the system does not support cold reset.
32 This function causes a system-wide initialization (warm reset), in which all processors
33 are set to their initial state. Pending cycles are not corrupted.
35 If this function returns, it means that the system does not support warm reset.
47 This function causes the system to enter a power state equivalent
48 to the ACPI G2/S5 or G3 states.
50 If this function returns, it means that the system does not support shut down reset.
62 This function causes a systemwide reset. The exact type of the reset is
63 defined by the EFI_GUID that follows the Null-terminated Unicode string passed
64 into ResetData. If the platform does not recognize the EFI_GUID in ResetData
65 the platform must pick a supported reset type to perform.The platform may
66 optionally log the parameters from any non-normal reset that occurs.
68 @param[in] DataSize The size, in bytes, of ResetData.
69 @param[in] ResetData The data buffer starts with a Null-terminated string,
70 followed by the EFI_GUID.
74 ResetPlatformSpecific (
83 The ResetSystem function resets the entire platform.
85 @param[in] ResetType The type of reset to perform.
86 @param[in] ResetStatus The status code for the reset.
87 @param[in] DataSize The size, in bytes, of ResetData.
88 @param[in] ResetData For a ResetType of EfiResetCold, EfiResetWarm, or EfiResetShutdown
89 the data buffer starts with a Null-terminated string, optionally
90 followed by additional binary data. The string is a description
91 that the caller may use to further indicate the reason for the
97 IN EFI_RESET_TYPE ResetType
,
98 IN EFI_STATUS ResetStatus
,
100 IN VOID
*ResetData OPTIONAL