Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
984d54bb
Commit
984d54bb
authored
8 years ago
by
danh-arm
Committed by
GitHub
8 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #764 from sandrine-bailleux-arm/sb/fix-trusty-build
Minor fixes in the Trusty SPD code
parents
5c0df525
48c1c39f
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
v1.5
v1.5-rc3
v1.5-rc2
v1.5-rc1
v1.5-rc0
v1.4
v1.4-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
services/spd/trusty/trusty.c
+3
-5
services/spd/trusty/trusty.c
with
3 additions
and
5 deletions
+3
-5
services/spd/trusty/trusty.c
View file @
984d54bb
...
...
@@ -229,7 +229,7 @@ static uint64_t trusty_smc_handler(uint32_t smc_fid,
static
int32_t
trusty_init
(
void
)
{
void
el3_exit
();
void
el3_exit
(
void
);
entry_point_info_t
*
ep_info
;
struct
trusty_cpu_ctx
*
ctx
=
get_trusty_ctx
();
uint32_t
cpu
=
plat_my_core_pos
();
...
...
@@ -270,24 +270,22 @@ static int32_t trusty_init(void)
static
void
trusty_cpu_suspend
(
void
)
{
struct
args
ret
;
unsigned
int
linear_id
=
plat_my_core_pos
();
ret
=
trusty_context_switch
(
NON_SECURE
,
SMC_FC_CPU_SUSPEND
,
0
,
0
,
0
);
if
(
ret
.
r0
!=
0
)
{
INFO
(
"%s: cpu %d, SMC_FC_CPU_SUSPEND returned unexpected value, %ld
\n
"
,
__func__
,
linear_id
,
ret
.
r0
);
__func__
,
plat_my_core_pos
()
,
ret
.
r0
);
}
}
static
void
trusty_cpu_resume
(
void
)
{
struct
args
ret
;
unsigned
int
linear_id
=
plat_my_core_pos
();
ret
=
trusty_context_switch
(
NON_SECURE
,
SMC_FC_CPU_RESUME
,
0
,
0
,
0
);
if
(
ret
.
r0
!=
0
)
{
INFO
(
"%s: cpu %d, SMC_FC_CPU_RESUME returned unexpected value, %ld
\n
"
,
__func__
,
linear_id
,
ret
.
r0
);
__func__
,
plat_my_core_pos
()
,
ret
.
r0
);
}
}
...
...
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
Menu
Projects
Groups
Snippets
Help