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
bc8f9b84
Commit
bc8f9b84
authored
Dec 01, 2016
by
davidcunado-arm
Committed by
GitHub
Dec 01, 2016
Browse files
Merge pull request #769 from sandrine-bailleux-arm/sb/trusty-assert-init
Check Trusty is present during the SPD's initialization
parents
c59428b1
e97e413f
Changes
1
Show whitespace changes
Inline
Side-by-side
services/spd/trusty/trusty.c
View file @
bc8f9b84
...
...
@@ -236,7 +236,12 @@ static int32_t trusty_init(void)
int
reg_width
=
GET_RW
(
read_ctx_reg
(
get_el3state_ctx
(
&
ctx
->
cpu_ctx
),
CTX_SPSR_EL3
));
/*
* Get information about the Trusty image. Its absence is a critical
* failure.
*/
ep_info
=
bl31_plat_get_next_image_ep_info
(
SECURE
);
assert
(
ep_info
);
cm_el1_sysregs_context_save
(
NON_SECURE
);
...
...
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