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
5e5c77db
Unverified
Commit
5e5c77db
authored
Mar 20, 2019
by
Dimitris Papastamos
Committed by
GitHub
Mar 20, 2019
Browse files
Merge pull request #1901 from AlexeiFedorov/af/restore_pauth_context_smc
Restore PAuth context in case of unknown SMC call
parents
859cf9ea
317d68e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
bl31/aarch64/runtime_exceptions.S
View file @
5e5c77db
...
...
@@ -419,6 +419,9 @@ smc_unknown:
*/
mov
x0
,
#
SMC_UNK
str
x0
,
[
sp
,
#
CTX_GPREGS_OFFSET
+
CTX_GPREG_X0
]
#if CTX_INCLUDE_PAUTH_REGS
bl
pauth_context_save
#endif
b
restore_gp_registers_eret
smc_prohibited
:
...
...
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