]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/ArmSmcPsciResetSystemLib: Add a new API ResetSystem
authorZhichao Gao <zhichao.gao@intel.com>
Thu, 11 Apr 2019 01:28:13 +0000 (09:28 +0800)
committerLiming Gao <liming.gao@intel.com>
Sun, 28 Apr 2019 01:40:19 +0000 (09:40 +0800)
commitbda4d5be7c97c72a4c9fef3c69c5c06c24e34893
tree1487196ed4c5b41fd55e2a713824782950ee7b05
parentb5fddfaf477a57a6f783e9a147819c3b04c4ef07
ArmPkg/ArmSmcPsciResetSystemLib: Add a new API ResetSystem

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1460

Add a new API ResetSystem to this ResetSystemLib instance.
It only adds the basic functions from ResetSystemRuntimeDxe.
Lacking of this interface may cause link error, if some drivers
use this new API and link to this library instance.
Notes:
This library API only provide a basic function of reset. Full
function should use the instance in the MdeModulePkg and make
sure the depex driver is dispatched.

Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.c