Fix the SMCCC signatures, they are all 32-bit calls. This fixes SMCCC
version detection. Sponsored by: DARPA, AFRL
This commit is contained in:
parent
49043c2660
commit
021ddd901b
@ -54,11 +54,11 @@
|
||||
* These are documented in the document ARM DEN 0070A.
|
||||
*/
|
||||
#define SMCCC_VERSION \
|
||||
SMCCC_FUNC_ID(SMCCC_FAST_CALL, SMCCC_64BIT_CALL, 0, 0)
|
||||
SMCCC_FUNC_ID(SMCCC_FAST_CALL, SMCCC_32BIT_CALL, 0, 0)
|
||||
#define SMCCC_ARCH_FEATURES \
|
||||
SMCCC_FUNC_ID(SMCCC_FAST_CALL, SMCCC_64BIT_CALL, 0, 1)
|
||||
SMCCC_FUNC_ID(SMCCC_FAST_CALL, SMCCC_32BIT_CALL, 0, 1)
|
||||
#define SMCCC_ARCH_WORKAROUND_1 \
|
||||
SMCCC_FUNC_ID(SMCCC_FAST_CALL, SMCCC_64BIT_CALL, 0, 0x8000)
|
||||
SMCCC_FUNC_ID(SMCCC_FAST_CALL, SMCCC_32BIT_CALL, 0, 0x8000)
|
||||
|
||||
/* The return values from ARM DEN 0070A. */
|
||||
#define SMCCC_RET_SUCCESS 0
|
||||
|
Loading…
Reference in New Issue
Block a user