diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-10-17 14:42:05 +0100 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2017-10-17 19:20:44 +0100 |
commit | 1727ed8024639f32f75c4eb23c4b5691a52aa922 (patch) | |
tree | da1dd1fe720d080d33928f59df31ac457538f494 | |
parent | a9ec390fe8970708b12b180de5b2d60296b5cccd (diff) | |
download | edk2-platforms-1727ed8024639f32f75c4eb23c4b5691a52aa922.tar.xz |
Platform/ARM: use appropriate ReportStatusCodeLib resolution for RT drivers
ResetSystemRuntimeDxe may be invoked by the OS at runtime, at which time
it will attempt to call into ReportStatusCodeLib. If we use the default
version for DXE drivers, this will access data structures that are no
longer there so switch to the special runtime version instead.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Tested-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
-rw-r--r-- | Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc index 8bcb84869c..1605eedbdd 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc +++ b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc @@ -240,6 +240,7 @@ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.inf
+ ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
!if $(SECURE_BOOT_ENABLE) == TRUE
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
!endif
|