This commit adds two defines holding the register width of 32 bit and 64 bit registers. These defines simplify using the associated constants in the following commits.
Signed-off-by: Sergej Proskurin <prosku...@sec.in.tum.de> --- Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Julien Grall <julien.gr...@arm.com> --- xen/include/asm-arm/processor.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/include/asm-arm/processor.h b/xen/include/asm-arm/processor.h index c095dad7e9..c1ccd920b4 100644 --- a/xen/include/asm-arm/processor.h +++ b/xen/include/asm-arm/processor.h @@ -326,6 +326,10 @@ #define MM64_VMID_16_BITS_SUPPORT 0x2 #endif +/* Register width */ +#define REGISTER_WIDTH_64_BIT (64) +#define REGISTER_WIDTH_32_BIT (32) + #ifndef __ASSEMBLY__ struct cpuinfo_arm { -- 2.12.2 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel