Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
708531cf
Unverified
Commit
708531cf
authored
6 years ago
by
Dimitris Papastamos
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1549 from danielboulby-arm/db/pointer
Remove rt_svc_descs pointer from global scope
parents
f60a5004
e19ea3f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/runtime_svc.c
+1
-1
common/runtime_svc.c
with
1 addition
and
1 deletion
+1
-1
common/runtime_svc.c
View file @
708531cf
...
...
@@ -20,7 +20,6 @@
* 'rt_svc_descs' array which contains the SMC handler.
******************************************************************************/
uint8_t
rt_svc_descs_indices
[
MAX_RT_SVCS
];
static
rt_svc_desc_t
*
rt_svc_descs
;
#define RT_SVC_DECS_NUM ((RT_SVC_DESCS_END - RT_SVC_DESCS_START)\
/ sizeof(rt_svc_desc_t))
...
...
@@ -98,6 +97,7 @@ void runtime_svc_init(void)
{
int
rc
=
0
;
unsigned
int
index
,
start_idx
,
end_idx
;
rt_svc_desc_t
*
rt_svc_descs
;
/* Assert the number of descriptors detected are less than maximum indices */
assert
((
RT_SVC_DESCS_END
>=
RT_SVC_DESCS_START
)
&&
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment