summaryrefslogtreecommitdiff
path: root/OvmfPkg/LoongArchVirt/Library/ResetSystemAcpiLib/ResetSystemAcpiGed.h
blob: 06e2572db0021836e85ea891f8483ed777f51e38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/** @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_