TianoCore EDK2 master
Loading...
Searching...
No Matches
BaseResetShutdown.c File Reference
#include <Base.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/IoLib.h>
#include <Library/PciLib.h>
#include <Library/ResetSystemLib.h>
#include <OvmfPlatforms.h>

Go to the source code of this file.

Functions

VOID EFIAPI ResetShutdown (VOID)
 

Detailed Description

Base Reset System Library Shutdown API implementation for OVMF.

Copyright (C) 2020, Red Hat, Inc. Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file BaseResetShutdown.c.

Function Documentation

◆ ResetShutdown()

VOID EFIAPI ResetShutdown ( VOID  )

Calling this function causes the system to enter a power state equivalent to the ACPI G2/S5 or G3 states.

System shutdown should not return, if it returns, it means the system does not support shut down reset.

Definition at line 27 of file BaseResetShutdown.c.