aarch64: smccc: Retrieve up to 8 64-bit values

The most common secure monitor firmware in the ARM world is TF-A. The
current release allows up to 8 64-bit values to be returned from a
SMC64 call from AArch64 state.

Extend the number of possible return values from 4 to 8.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
Carlo Caione 2021-02-03 12:10:45 +01:00 committed by Anas Nashif
commit eb72b2d72a
3 changed files with 9 additions and 1 deletions

View file

@ -9,13 +9,17 @@
/*
* Result from SMC/HVC call
* @a0-a3 result values from registers 0 to 3
* @a0-a7 result values from registers 0 to 7
*/
struct arm_smccc_res {
unsigned long a0;
unsigned long a1;
unsigned long a2;
unsigned long a3;
unsigned long a4;
unsigned long a5;
unsigned long a6;
unsigned long a7;
};
typedef struct arm_smccc_res arm_smccc_res_t;