ArmPkg: Introduced ArmPsciResetSystemLib
This implementation of EfiResetSystemLib uses ARM PSCI calls to perform reboot and poweroff, using either HVC or SMC calls. Contributed-under: TianoCore Contribution Agreement 1.0 Acked-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16089 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
oliviermartin
parent
58e92b394e
commit
ca3026d361
@@ -231,3 +231,11 @@
|
||||
gArmTokenSpaceGuid.PcdGicDistributorBase|0|UINT32|0x0000000C
|
||||
gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0|UINT32|0x0000000D
|
||||
gArmTokenSpaceGuid.PcdGicSgiIntId|0|UINT32|0x00000025
|
||||
|
||||
#
|
||||
# ARM PSCI function invocations can be done either through hypervisor
|
||||
# calls (HVC) or secure monitor calls (SMC).
|
||||
# PcdArmPsciMethod == 1 : use HVC
|
||||
# PcdArmPsciMethod == 2 : use SMC
|
||||
#
|
||||
gArmTokenSpaceGuid.PcdArmPsciMethod|0|UINT32|0x00000042
|
||||
|
Reference in New Issue
Block a user