From 16292f54811f27bb7de28512cda74db83686cb63 Mon Sep 17 00:00:00 2001 From: David Cunado Date: Wed, 5 Apr 2017 11:34:03 +0100 Subject: Update terminology: standard SMC to yielding SMC Since Issue B (November 2016) of the SMC Calling Convention document standard SMC calls are renamed to yielding SMC calls to help avoid confusion with the standard service SMC range, which remains unchanged. http://infocenter.arm.com/help/topic/com.arm.doc.den0028b/ARM_DEN0028B_SMC_Calling_Convention.pdf This patch adds a new define for yielding SMC call type and deprecates the current standard SMC call type. The tsp is migrated to use this new terminology and, additionally, the documentation and code comments are updated to use this new terminology. Change-Id: I0d7cc0224667ee6c050af976745f18c55906a793 Signed-off-by: David Cunado --- include/lib/smcc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/lib/smcc.h') diff --git a/include/lib/smcc.h b/include/lib/smcc.h index 2f562c5d..708805f9 100644 --- a/include/lib/smcc.h +++ b/include/lib/smcc.h @@ -60,7 +60,10 @@ #define SMC_32 0 #define SMC_UNK 0xffffffff #define SMC_TYPE_FAST ULL(1) +#if !ERROR_DEPRECATED #define SMC_TYPE_STD 0 +#endif +#define SMC_TYPE_YIELD 0 #define SMC_PREEMPTED 0xfffffffe /******************************************************************************* * Owning entity number definitions inside the function id as per the SMC @@ -74,7 +77,7 @@ #define OEN_SIP_END 2 #define OEN_OEM_START 3 #define OEN_OEM_END 3 -#define OEN_STD_START 4 /* Standard Calls */ +#define OEN_STD_START 4 /* Standard Service Calls */ #define OEN_STD_END 4 #define OEN_TAP_START 48 /* Trusted Applications */ #define OEN_TAP_END 49 -- cgit v1.2.3