Skip to content
Commit a5b9fa30 authored by Sergey Temerkhanov's avatar Sergey Temerkhanov Committed by Tom Rini
Browse files

armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure



This commit adds functions issuing calls to secure monitor or
hypervisore. This allows using services such as Power State
Coordination Interface (PSCI) provided by firmware, e.g. ARM
Trusted Firmware (ATF)

The SMC call can destroy all registers declared temporary by the
calling conventions. The clobber list is "x0..x17" because of
this

Signed-off-by: default avatarSergey Temerkhanov <s.temerkhanov@gmail.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
Signed-off-by: default avatarRadha Mohan Chintakuntla <rchintakuntla@cavium.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
parent 94f7ff36
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment