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
b70dcbc1
Unverified
Commit
b70dcbc1
authored
Jun 22, 2018
by
Dimitris Papastamos
Committed by
GitHub
Jun 22, 2018
Browse files
Merge pull request #1443 from jeenu-arm/sdei-fixes
SDEI client EL determination fix
parents
d87abe6a
5e60c39a
Changes
2
Show whitespace changes
Inline
Side-by-side
services/std_svc/sdei/sdei_intr_mgmt.c
View file @
b70dcbc1
...
...
@@ -601,7 +601,7 @@ int sdei_dispatch_event(int ev_num)
return
0
;
}
static
void
end_sdei_
explicit
_dispatch
(
struct
jmpbuf
*
buffer
)
static
void
end_sdei_
synchronous
_dispatch
(
struct
jmpbuf
*
buffer
)
{
longjmp
(
buffer
);
}
...
...
@@ -679,7 +679,7 @@ int sdei_event_complete(int resume, uint64_t pc)
}
/* End the outstanding dispatch */
end_sdei_
explicit
_dispatch
(
disp_ctx
->
dispatch_jmp
);
end_sdei_
synchronous
_dispatch
(
disp_ctx
->
dispatch_jmp
);
return
0
;
}
...
...
services/std_svc/sdei/sdei_private.h
View file @
b70dcbc1
...
...
@@ -164,7 +164,7 @@ static inline unsigned int sdei_client_el(void)
cpu_context_t
*
ns_ctx
=
cm_get_context
(
NON_SECURE
);
el3_state_t
*
el3_ctx
=
get_el3state_ctx
(
ns_ctx
);
return
read_ctx_reg
(
el3_ctx
,
CTX_S
PS
R_EL3
)
&
SCR_HCE_BIT
?
MODE_EL2
:
return
read_ctx_reg
(
el3_ctx
,
CTX_S
C
R_EL3
)
&
SCR_HCE_BIT
?
MODE_EL2
:
MODE_EL1
;
}
...
...
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