Skip to content
Commit 1916ec27 authored by Sudan Landge's avatar Sudan Landge Committed by Henrik Brix Andersen
Browse files

arch: arm: support PACBTI with unprivileged mode



To support unprivileged mode (CONFIG_USERSPACE):
- Set unprivileged PAC key registers when system is in unprivileged
  mode.
- Add `bti` after each svc call, to make sure that the indirect jumps on
  `lr` while returning from an `svc` don't result in a usage fault.

Signed-off-by: default avatarSudan Landge <sudan.landge@arm.com>
parent 09cc777d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment