]> xenbits.xensource.com Git - xen.git/commit
xen/arm32: entry: Consolidate DEFINE_TRAP_ENTRY_* macros
authorJulien Grall <julien.grall@linaro.org>
Wed, 7 Feb 2018 16:52:44 +0000 (08:52 -0800)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 7 Feb 2018 16:52:44 +0000 (08:52 -0800)
commit6082e3ba8941b3d10c3cb73f445759c19e89afc9
tree38a096e96a03b1192150102c06df3a5b2cd6a8ef
parent6f6786ef0d7f7025860d360f6b1267193ffd1b27
xen/arm32: entry: Consolidate DEFINE_TRAP_ENTRY_* macros

The only difference between all the DEFINE_TRAP_ENTRY_* macros  are the
interrupts (Asynchronous Abort, IRQ, FIQ) unmasked.

Rather than duplicating the code, introduce __DEFINE_TRAP_ENTRY macro
that will take the list of interrupts to unmask.

This is part of XSA-254.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit 3bd8fd751e50dd981b7055fb33cdc8aa29537673)
xen/arch/arm/arm32/entry.S