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
e10af77b
Commit
e10af77b
authored
May 29, 2014
by
Dan Handley
Browse files
Merge pull request #111 'soby-mathew-sm:fix_cookie_to_int_handler'
parents
886dfdf2
a3781085
Changes
2
Hide whitespace changes
Inline
Side-by-side
bl31/aarch64/runtime_exceptions.S
View file @
e10af77b
...
...
@@ -105,8 +105,9 @@
*
Read
the
id
of
the
highest
priority
pending
interrupt
.
If
*
no
interrupt
is
asserted
then
return
to
where
we
came
from
.
*/
mov
x19
,
#
INTR_ID_UNAVAILABLE
bl
plat_ic_get_pending_interrupt_id
cmp
x
0
,
#
INTR_ID_UNAVAILABLE
cmp
x
19
,
x0
b.eq
interrupt_exit_
\
label
#endif
...
...
@@ -125,6 +126,9 @@
/
*
Restore
the
reference
to
the
'handle'
i
.
e
.
SP_EL3
*/
mov
x2
,
x20
/
*
x3
will
point
to
a
cookie
(
not
used
now
)
*/
mov
x3
,
xzr
/
*
Call
the
interrupt
type
handler
*/
blr
x21
...
...
services/spd/tspd/tspd_main.c
View file @
e10af77b
...
...
@@ -90,7 +90,7 @@ static uint64_t tspd_sel1_interrupt_handler(uint32_t id,
#if IMF_READ_INTERRUPT_ID
/* Check the security status of the interrupt */
assert
(
ic_get_interrupt_
group
(
id
)
==
SECURE
);
assert
(
plat_
ic_get_interrupt_
type
(
id
)
==
INTR_TYPE_S_EL1
);
#endif
/* Sanity check the pointer to this cpu's context */
...
...
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