audk/ArmVirtPkg/Library
Ard Biesheuvel 7b1dc6c569 ArmVirtPkg: switch to generic ResetSystemRuntimeDxe
For obscure reasons, ARM platforms use a different implementation of
the ResetSystem() runtime service call than other platforms. So let's
switch all ArmVirtPkg platforms to the generic version instead.

Given that all platforms use an implementation of EfiResetSystemLib [as
consumed by the ResetRuntimeDxe in EmbeddedPkg that we are replacing]
which is unlikely to be depended upon by out of tree platforms, let's
simply modify this library into an implementation of ResetSystemLib
instead [which is what the generic driver in MdeModulePkg consumes]

This does mean we need to update all clients at the same time, which
is why all changes are part of the same patch.

As before, warm reset and platform specific reset are mapped onto
cold reset (which is the only thing PSCI implements, at least the
version we depend on). The new library function EnterS3WithImmediateWake()
is left unimplemented, as permitted by the ResetSystemLib library class.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2017-07-03 18:49:56 +01:00
..
ArmQemuRelocatablePlatformLib ArmVirtPkg/FdtParser: avoid unaligned accesses with the MMU off 2016-09-13 15:35:36 +01:00
ArmVirtDxeHobLib ArmVirtPkg DxeHobLib: Update func header description of BuildFv(2)Hob() 2016-11-17 09:27:14 +08:00
ArmVirtGicArchLib ArmVirtPkg/ArmVirtGicArchLib: eliminate unchecked PcdSetXX() calls 2016-10-25 10:46:29 +02:00
ArmVirtMemoryInitPeiLib ArmVirtPkg: restrict mapping attributes of normal memory to EFI_MEMORY_WB 2016-09-08 10:35:22 +01:00
ArmVirtPL031FdtClientLib ArmVirtPkg/ArmVirtPL031FdtClientLib: unconditionally disable DT node 2017-03-09 18:37:04 +01:00
ArmVirtPlatformLib ArmVirtPkg/ArmVirtPlatformLib: eliminate unchecked PcdSetXX() calls 2016-10-25 10:46:33 +02:00
ArmVirtPsciResetSystemLib ArmVirtPkg: switch to generic ResetSystemRuntimeDxe 2017-07-03 18:49:56 +01:00
ArmVirtTimerFdtClientLib ArmVirtPkg/ArmVirtTimerFdtClientLib: eliminate unchecked PcdSetXX() calls 2016-10-25 10:46:35 +02:00
ArmXenRelocatablePlatformLib ArmVirtPkg/FdtParser: avoid unaligned accesses with the MMU off 2016-09-13 15:35:36 +01:00
BaseCachingPciExpressLib ArmVirtPkg/BaseCachingPciExpressLib: depend on PciPcdProducerLib 2016-04-12 16:57:20 +02:00
FdtPL011SerialPortLib ArmVirtPkg/FdtPL011SerialPortLib: honor DT node 'status' property 2017-04-04 15:25:16 +01:00
FdtPciHostBridgeLib ArmVirtPkg/FdtPciHostBridgeLib: enable 64-bit PCI DMA 2016-09-06 15:46:53 +01:00
FdtPciPcdProducerLib ArmVirtPkg/FdtPciPcdProducerLib: eliminate unchecked PcdSetXX() calls 2016-10-25 10:46:36 +02:00
NorFlashQemuLib ArmVirtPkg/NorFlashQemuLib: rebase to ARRAY_SIZE() 2016-10-27 10:50:19 +02:00
PlatformBootManagerLib ArmVirtPkg/ArmVirtQemu: refer to Shell app via its declared GUID 2017-03-22 15:34:59 +00:00
PlatformPeiLib ArmVirtPkg/PlatformPeiLib: honor DT node 'status' property 2017-04-04 15:25:19 +01:00
QemuFwCfgLib ArmVirtPkg, OvmfPkg: retire QemuFwCfgS3Enabled() from QemuFwCfgLib 2017-03-14 21:49:16 +01:00
XenRealTimeClockLib ArmVirtPkg: XenRealTimeClockLib: fixup typo in Linaro copyright notice 2015-06-08 22:00:32 +00:00