TianoCore EDK2 master
Loading...
Searching...
No Matches
BaseResetShutdownXen.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 <Library/XenHypercallLib.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.
Copyright (c) 2022, Citrix Systems, Inc.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file BaseResetShutdownXen.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 30 of file BaseResetShutdownXen.c.