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:
Carlo Caione 2021-02-03 12:07:49 +01:00 committed by Anas Nashif
commit bc7cb75a82
3 changed files with 14 additions and 2 deletions

View file

@ -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,