diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-03-17 09:07:28 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-03-22 14:39:01 +0100 |
commit | a34608ca9670e07d8a4b6de2914b2960132d4b16 (patch) | |
tree | 2f6e00f8792682634ae704c7f22e6ccf6dc40d90 /BaseTools/Source/Python | |
parent | 725cdb8fbfb034cd73574ed9c356b0dca14ff843 (diff) | |
download | edk2-platforms-a34608ca9670e07d8a4b6de2914b2960132d4b16.tar.xz |
ArmPkg/AsmMacroIoLibV8: remove undocumented assumption from ELx macros
The macros EL1_OR_EL2() and EL1_OR_EL2_OR_EL3() allow conditional execution
of assembly sequences based on the current exception level, by jumping to
caller supplied labels 1f, 2f or 3f. However, the jump to 1f is actually
a fallthrough, which means the EL1 code needs to follow right after the
macro invocation, and the 1f label is ignored.
So let's fix this by making all jumps explicit.
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: Eugene Cohen <eugene@hp.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions