]> xenbits.xensource.com Git - xen.git/commit
xen/arm32: entry: Consolidate DEFINE_TRAP_ENTRY_* macros
authorJulien Grall <julien.grall@linaro.org>
Fri, 2 Feb 2018 14:19:19 +0000 (14:19 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 2 Feb 2018 19:34:45 +0000 (11:34 -0800)
commit3bd8fd751e50dd981b7055fb33cdc8aa29537673
treeeda7b5693fe4dac56fad01d8c68889ee0ffb5a91
parent682760603048cc7b86782a5d3dce23a3a78ab93a
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>
xen/arch/arm/arm32/entry.S