mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-18 08:08:09 +02:00
This library provides interface related to restart and shudown the LoongArch64 virtual machine. BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584 Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Bibo Mao <maobibo@loongson.cn> Cc: Dongyan Qian <qiandongyan@loongson.cn> Signed-off-by: Chao Li <lichao@loongson.cn> Co-authored-by: Xianglai Li <lixianglai@loongson.cn> Co-authored-by: Bibo Mao <maobibo@loongson.cn>
24 lines
512 B
C
24 lines
512 B
C
/** @file
|
|
ResetSystem lib head file.
|
|
|
|
Copyright (c) 2024 Loongson Technology Corporation Limited. All rights reserved.<BR>
|
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#ifndef RESET_SYSTEM_ACPI_GED_H_
|
|
#define RESET_SYSTEM_ACPI_GED_H_
|
|
|
|
#include <Base.h>
|
|
|
|
typedef struct {
|
|
UINT64 SleepControlRegAddr;
|
|
UINT64 SleepStatusRegAddr;
|
|
UINT64 ResetRegAddr;
|
|
UINT8 ResetValue;
|
|
} POWER_MANAGER;
|
|
|
|
extern POWER_MANAGER mPowerManager;
|
|
#endif // RESET_SYSTEM_ACPI_GED_H_
|