summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDavid Cunado <david.cunado@arm.com>2017-04-05 11:34:03 +0100
committerDavid Cunado <david.cunado@arm.com>2017-04-26 12:58:52 +0100
commit16292f54811f27bb7de28512cda74db83686cb63 (patch)
tree2e88a51f4e01efaf990f73bcaf248f65ce1cc57d /common
parentec54a87184d53e88c3666a30738ef506ddc1acc2 (diff)
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 <david.cunado@arm.com>
Diffstat (limited to 'common')
-rw-r--r--common/runtime_svc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/common/runtime_svc.c b/common/runtime_svc.c
index df0d64ca..52990b33 100644
--- a/common/runtime_svc.c
+++ b/common/runtime_svc.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2016, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -93,7 +93,8 @@ static int32_t validate_rt_svc_desc(const rt_svc_desc_t *desc)
if (desc->end_oen >= OEN_LIMIT)
return -EINVAL;
- if (desc->call_type != SMC_TYPE_FAST && desc->call_type != SMC_TYPE_STD)
+ if (desc->call_type != SMC_TYPE_FAST &&
+ desc->call_type != SMC_TYPE_YIELD)
return -EINVAL;
/* A runtime service having no init or handle function doesn't make sense */
@@ -143,7 +144,7 @@ void runtime_svc_init(void)
/*
* The runtime service may have separate rt_svc_desc_t
- * for its fast smc and standard smc. Since the service itself
+ * for its fast smc and yielding smc. Since the service itself
* need to be initialized only once, only one of them will have
* an initialisation routine defined. Call the initialisation
* routine for this runtime service, if it is defined.