diff options
author | Soby Mathew <soby.mathew@arm.com> | 2014-05-27 16:54:31 +0100 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2014-05-29 16:45:19 +0100 |
commit | b460b8bf23633195535006b29e14c615f888fa24 (patch) | |
tree | 330a340e9f3e17e7ed4dbf63f59cddf72112d8a0 /bl31 | |
parent | 05b6edfe26e3674c3e8e8ff6332aae66fe73e4fa (diff) |
Pass 'cookie' parameter to interrupt handler in BL3-1
The interrupt handling routine in BL3-1 expects a cookie as its last
parameter which was not being passed when invoking the interrupt
handler in BL3-1. This patch fixes that by passing a dummy cookie
parameter in the x3 register.
Fixes ARM-software/tf-issues#171
Change-Id: Ic98abbbd9f849e6f1c55343e865b5e0a4904a1c5
Diffstat (limited to 'bl31')
-rw-r--r-- | bl31/aarch64/runtime_exceptions.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bl31/aarch64/runtime_exceptions.S b/bl31/aarch64/runtime_exceptions.S index e3673f0..97ca956 100644 --- a/bl31/aarch64/runtime_exceptions.S +++ b/bl31/aarch64/runtime_exceptions.S @@ -125,6 +125,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 |