|
TianoCore EDK2 master
|
#include "PeiMain.h"Go to the source code of this file.
Functions | |
| EFI_STATUS EFIAPI | PeiResetSystem (IN CONST EFI_PEI_SERVICES **PeiServices) |
| VOID EFIAPI | PeiResetSystem2 (IN EFI_RESET_TYPE ResetType, IN EFI_STATUS ResetStatus, IN UINTN DataSize, IN VOID *ResetData OPTIONAL) |
Pei Core Reset System Support
Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Reset.c.
| EFI_STATUS EFIAPI PeiResetSystem | ( | IN CONST EFI_PEI_SERVICES ** | PeiServices | ) |
Core version of the Reset System
| PeiServices | An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. |
| EFI_NOT_AVAILABLE_YET | PPI not available yet. |
| EFI_DEVICE_ERROR | Did not reset system. Otherwise, resets the system. |
| VOID EFIAPI PeiResetSystem2 | ( | IN EFI_RESET_TYPE | ResetType, |
| IN EFI_STATUS | ResetStatus, | ||
| IN UINTN | DataSize, | ||
| IN VOID *ResetData | OPTIONAL | ||
| ) |
Resets the entire platform.
| [in] | ResetType | The type of reset to perform. |
| [in] | ResetStatus | The status code for the reset. |
| [in] | DataSize | The size, in bytes, of ResetData. |
| [in] | ResetData | For a ResetType of EfiResetCold, EfiResetWarm, or EfiResetShutdown the data buffer starts with a Null-terminated 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. |