summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPeter Hoyes <[email protected]>2024-05-01 09:16:32 +0100
committerTom Rini <[email protected]>2024-05-13 16:51:14 -0600
commitb18a3c183d20812933d192d4b0d622b11ef2bf29 (patch)
treefb6398fcd79cdbbaad44ba36093d20fcf24c38e7 /scripts
parente0112bc508b142786b919eb48c2dc8eca9f0361b (diff)
arm: Move sev() and wfe() definitions to common Arm header file
The sev() and wfe() asm macros are currently defined only for mach-exynos. As these are common Arm instructions, move them to the common asm/system.h header file, for both Armv7 and Armv8, so they can be used by other machines. wfe may theoretically trigger a context switch if an interrupt occurs so add a memory barrier to this call. Signed-off-by: Peter Hoyes <[email protected]> Reviewed-by: Andre Przywara<[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions