aarch64: smccc: Use offset macros
Instead of relying on hardcoded offset in the assembly code, introduce the offset macros to make the code more clear. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
998856bacb
commit
bc7cb75a82
3 changed files with 14 additions and 2 deletions
|
@ -18,6 +18,8 @@ struct arm_smccc_res {
|
|||
unsigned long a3;
|
||||
};
|
||||
|
||||
typedef struct arm_smccc_res arm_smccc_res_t;
|
||||
|
||||
enum arm_smccc_conduit {
|
||||
SMCCC_CONDUIT_NONE,
|
||||
SMCCC_CONDUIT_SMC,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue