ARM: add file for HYP mode related setup
This adds routines to add hyp mode vectors and switch back to HYP
mode from SVC. This is needed in both the PBL and Barebox proper.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Roland Hieber <r.hieber@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3c2b8f3 commit 296fa431f9725334f2057039e015f6fc537c0aa0
@Lucas Stach Lucas Stach authored on 1 Nov 2018
Sascha Hauer committed on 5 Nov 2018
Showing 4 changed files
View
arch/arm/cpu/Makefile
View
arch/arm/cpu/hyp.S 0 → 100644
View
arch/arm/cpu/sm_as.S
View
arch/arm/include/asm/secure.h