diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-03-16 16:45:39 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-03-22 14:39:02 +0100 |
commit | 0dbbaa557331fe2ba26c3e2d66be5d21d1f5f7bb (patch) | |
tree | 5f246741ebe7d6cb4fb3e89a775f2c89417905bb /OvmfPkg | |
parent | a34608ca9670e07d8a4b6de2914b2960132d4b16 (diff) | |
download | edk2-0dbbaa557331fe2ba26c3e2d66be5d21d1f5f7bb.zip edk2-0dbbaa557331fe2ba26c3e2d66be5d21d1f5f7bb.tar.gz edk2-0dbbaa557331fe2ba26c3e2d66be5d21d1f5f7bb.tar.bz2 |
ArmPkg/ArmExceptionLib: fold exception handler prologue into vector table
Unlike the AArch32 vector table, which has room for a single instruction
for each exception type, the AArch64 exception table has 128 byte slots,
which can easily hold the shared prologues that are emitted out of line.
So refactor this code into a single macro, and expand it into each vector
table slot. Since the address of the command handler entry point is no
longer patched in by the C code, we can just emit the literal into each
vector entry directly.
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 'OvmfPkg')
0 files changed, 0 insertions, 0 deletions