]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVirtPkg: remove status code support
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 5 Jul 2017 12:57:50 +0000 (13:57 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 5 Jul 2017 15:30:26 +0000 (16:30 +0100)
commit59541d41633cf56e9b7c3ac0de112ab65d9331ca
tree37a2380fad6aa778350f441b69302f3861a7e09e
parent729ddffda0546e4df7246f008c8248990237834d
ArmVirtPkg: remove status code support

Commit 7b1dc6c569a 'ArmVirtPkg: switch to generic ResetSystemRuntimeDxe'
replaced all references in ArmVirtPkg to the deprecated ResetRuntimeDxe
from EmbeddedPkg with the well maintained generic alternative that lives
in MdeModulePkg.

However, as it turns out, the generic driver has a dependency on the
library class ReportStatusCodeLib, whose default resolution is an
implementation that is not safe for use at runtime, resulting in crashes
when trying to invoke it from the OS.

Since we have no use for status codes in any of the ArmVirtPkg
platforms, let's replace all resolutions with a common one to the NULL
implementation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
ArmVirtPkg/ArmVirt.dsc.inc