mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-18 16:18:12 +02:00
The ARM SMCCC specification stipulates that the conduit for ARM monitor calls can be determined by taking the conduit for PSCI calls. The converse is also true, and so we can implement ResetSystemLib for PSCI using ArmMonitorLib to choose between SMC and HVC instructions. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
33 lines
896 B
INI
33 lines
896 B
INI
## @file
|
|
# Reset System lib using PSCI hypervisor or secure monitor calls
|
|
#
|
|
# Copyright (c) 2008, Apple Inc. All rights reserved.<BR>
|
|
# Copyright (c) 2014, Linaro Ltd. All rights reserved.<BR>
|
|
# Copyright (c) 2024, Google Llc. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 1.29
|
|
BASE_NAME = ArmPsciResetSystemLib
|
|
FILE_GUID = 31db596f-cc80-47fd-849f-e6be5e9f7560
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = ResetSystemLib
|
|
CONSTRUCTOR = ArmPsciResetSystemLibConstructor
|
|
|
|
[Sources]
|
|
ArmPsciResetSystemLib.c
|
|
|
|
[Packages]
|
|
ArmPkg/ArmPkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
MdePkg/MdePkg.dec
|
|
|
|
[LibraryClasses]
|
|
ArmMonitorLib
|
|
BaseLib
|
|
DebugLib
|