]> xenbits.xensource.com Git - xen.git/commit
xen/arm64: entry: Avoid open-coding interrupt flags
authorJulien Grall <julien.grall@arm.com>
Thu, 31 Oct 2019 15:09:09 +0000 (15:09 +0000)
committerJulien Grall <julien.grall@arm.com>
Fri, 1 Nov 2019 13:57:36 +0000 (13:57 +0000)
commit38533d900a4a1f432e7638a329359f085f006adc
tree4de14a3f5f7dceea94eb1863aca1175b1ac671bf
parent0ae24912ac97f94f437040ae535f273c5f7284f9
xen/arm64: entry: Avoid open-coding interrupt flags

At the moment, the interrupts to mask/unmask are hardcoded in the code
making more difficult to find out what's going on.

A new series of short-hand specific to the file entry.S is now added.

The name of the short-hands should tell which interrupts will be
changed by the msr daif{set, clr} instructions.

Take the opportunity to replace the hardcoded values with the new
short-hands.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/arm/arm64/entry.S