audk/ArmPkg/Library/ArmSmcPsciResetSystemLib
Ard Biesheuvel dde2dd64f0 ArmPkg/ArmSmcPsciResetSystemLib: implement fallback for warm reboot
Implement ResetSystemLib's EnterS3WithImmediateWake() routine using
a jump back to the PEI entry point with interrupts and MMU+caches
disabled. This is only possible at boot time, when we are sure that
the current CPU is the only one up and running. Also, it depends on
the platform whether the PEI code is preserved in memory (it may be
copied to DRAM rather than execute in place), so also add a feature
PCD to selectively enable this feature.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-06-15 18:18:37 +02:00
..
ArmSmcPsciResetSystemLib.c ArmPkg/ArmSmcPsciResetSystemLib: implement fallback for warm reboot 2018-06-15 18:18:37 +02:00
ArmSmcPsciResetSystemLib.inf ArmPkg/ArmSmcPsciResetSystemLib: implement fallback for warm reboot 2018-06-15 18:18:37 +02:00