EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Functions

EmbeddedPkg/ResetRuntimeDxe/reset.c File Reference

#include <PiDxe.h>
#include <Protocol/Reset.h>
#include <Library/DebugLib.h>
#include <Library/UefiDriverEntryPoint.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/EfiResetSystemLib.h>

Go to the source code of this file.

Functions

VOID EFIAPI ResetSystemViaLib (IN EFI_RESET_TYPE ResetType, IN EFI_STATUS ResetStatus, IN UINTN DataSize, IN VOID *ResetData OPTIONAL)
EFI_STATUS EFIAPI InitializeReset (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)

Detailed Description

Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.

This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file reset.c.


Function Documentation

EFI_STATUS EFIAPI InitializeReset ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Initialize the state information for the Reset Architectural Protocol.

Parameters:
[in]ImageHandleImage handle of the loaded driver
[in]SystemTablePointer to the System Table
Return values:
EFI_SUCCESSThread can be successfully created
EFI_UNSUPPORTEDCannot find the info to reset system

Definition at line 51 of file reset.c.

VOID EFIAPI ResetSystemViaLib ( IN EFI_RESET_TYPE  ResetType,
IN EFI_STATUS  ResetStatus,
IN UINTN  DataSize,
IN VOID *ResetData  OPTIONAL 
)

Resets the entire platform.

Parameters:
ResetTypeThe type of reset to perform.
ResetStatusThe status code for the reset.
DataSizeThe size, in bytes, of WatchdogData.
ResetDataFor a ResetType of EfiResetCold, EfiResetWarm, or EfiResetShutdown the data buffer starts with a Null-terminated Unicode string, optionally followed by additional binary data.

Definition at line 36 of file reset.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines