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
b70dcbc1
Unverified
Commit
b70dcbc1
authored
6 years ago
by
Dimitris Papastamos
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1443 from jeenu-arm/sdei-fixes
SDEI client EL determination fix
parents
d87abe6a
5e60c39a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
services/std_svc/sdei/sdei_intr_mgmt.c
+2
-2
services/std_svc/sdei/sdei_intr_mgmt.c
services/std_svc/sdei/sdei_private.h
+1
-1
services/std_svc/sdei/sdei_private.h
with
3 additions
and
3 deletions
+3
-3
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
;
}
...
...
This diff is collapsed.
Click to expand it.
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
;
}
...
...
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