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
daf0a726
Commit
daf0a726
authored
Feb 28, 2018
by
Arve Hjønnevåg
Browse files
trusty: Fix reported static check errors
Change-Id: I9f9a8a159b41be1c865a20801d03a1b2934c3cac
parent
8ef782df
Changes
2
Show whitespace changes
Inline
Side-by-side
services/spd/trusty/generic-arm64-smcall.c
View file @
daf0a726
...
...
@@ -66,7 +66,7 @@ static uint64_t trusty_generic_platform_smc(uint32_t smc_fid,
void
*
handle
,
uint64_t
flags
)
{
switch
(
smc_fid
)
{
switch
(
smc_fid
)
{
case
SMC_FC_DEBUG_PUTC
:
trusty_dputc
(
x1
,
is_caller_secure
(
flags
));
SMC_RET1
(
handle
,
0
);
...
...
services/spd/trusty/trusty.c
View file @
daf0a726
...
...
@@ -409,7 +409,7 @@ static int32_t trusty_setup(void)
instr
=
*
(
uint32_t
*
)
ep_info
->
pc
;
if
(
instr
>>
24
==
0xea
)
{
if
(
instr
>>
24
==
0xea
U
)
{
INFO
(
"trusty: Found 32 bit image
\n
"
);
aarch32
=
true
;
}
else
if
(
instr
>>
8
==
0xd53810
||
instr
>>
16
==
0x9400
)
{
...
...
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