xen/arm64: Add generic assembly macros
authorJulien Grall <julien.grall@arm.com>
Tue, 12 Jun 2018 11:36:39 +0000 (12:36 +0100)
committerJulien Grall <julien.grall@arm.com>
Fri, 22 Jun 2018 01:59:43 +0000 (02:59 +0100)
commitbb2e9fc7df592753e1fd73b4fec21c375cd3e2e1
tree906f72e32d3375ec4fd76f8455cc0044893cfc25
parent3e9db39ea06e726c66c40cb8f2f0e5fa62de9c7c
xen/arm64: Add generic assembly macros

Add assembly macros to simplify assembly code:
    - adr_cpu_info: Get the address to the current cpu_info structure
    - ldr_this_cpu: Load a per-cpu value

This is part of XSA-263.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/arm64/macros.h [new file with mode: 0644]
xen/include/asm-arm/macros.h