diff options
author | Leif Lindholm <quic_llindhol@quicinc.com> | 2020-10-01 19:37:12 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-10-02 15:48:02 +0000 |
commit | 1a66bd51ca21f341281d8e3157d3d3f4a94fd26c (patch) | |
tree | 662fddca4f275374c91cbac9dee83d1d9cfa1c5c /OvmfPkg/PvScsiDxe | |
parent | 2b2705343a810538bc27f5e897da693984c82394 (diff) | |
download | edk2-1a66bd51ca21f341281d8e3157d3d3f4a94fd26c.tar.gz edk2-1a66bd51ca21f341281d8e3157d3d3f4a94fd26c.tar.bz2 edk2-1a66bd51ca21f341281d8e3157d3d3f4a94fd26c.zip |
MdePkg/BaseLib: ensure ARM LongJump never returns 0
The ARM implementation of InternalLongJump always returned the value
Value - but it is not supposed to ever return 0. Add the test to prevent
that, and return 1 if Value is 0 - as is already present in AArch64.
Signed-off-by: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'OvmfPkg/PvScsiDxe')
0 files changed, 0 insertions, 0 deletions