Extensible Firmware Interface Specification
96 12/12/00 Version 1.02
3.8.1 ResetSystem()
Summary
Resets the entire platform.
Prototype
VOID
ResetSystem (
IN EFI_RESET_TYPE ResetType,
IN EFI_STATUS ResetStatus,
IN UINTN DataSize,
IN CHAR16 *ResetData OPTIONAL
);
Parameters
ResetType The type of reset to perform. Type EFI_RESET_TYPE is defined in
Related Definitions.
ResetStatus The status code for the reset. If the system reset is part of a normal
operation, the status code would be EFI_SUCCESS. If the system reset
is due to some type of failure the most appropriate EFI Status code
would be used.
DataSize The size, in bytes, of ResetData.
ResetData A data buffer that includes a Null-terminated Unicode string, optionally
followed by additional binary data. The string is a description that the
caller may use to further indicate the reason for the system reset.
ResetData is only valid if ResetStatus is something other then
EFI_SUCCESS. This pointer must be a physical address.
Related Definitions
//*******************************************************
// EFI_RESET_TYPE
//*******************************************************
typedef enum {
EfiResetCold,
EfiResetWarm
} EFI_RESET_TYPE;