efi_loader: refactor switch to non-secure mode
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 8 Jan 2019 17:13:06 +0000 (18:13 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 13 Feb 2019 08:40:06 +0000 (09:40 +0100)
commitf6c6df7ebc12fdaab252c5869732cef6fa48d864
treea9dd4b1d6b4a9304e17dc37042e63174d211cfc2
parentb4f471f18e68b340e5b968e2d611b83f709a78ce
efi_loader: refactor switch to non-secure mode

Refactor the switch from supervisor to hypervisor to a new function called
at the beginning of do_bootefi().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/arm/cpu/armv7/Makefile
arch/arm/cpu/armv7/exception_level.c [new file with mode: 0644]
arch/arm/cpu/armv8/Makefile
arch/arm/cpu/armv8/exception_level.c [new file with mode: 0644]
cmd/bootefi.c
common/bootm.c
include/bootm.h