mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
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>
This commit is contained in:
committed by
Alexander Graf
parent
b4f471f18e
commit
f6c6df7ebc
@@ -912,6 +912,16 @@ static const void *boot_get_kernel(cmd_tbl_t *cmdtp, int flag, int argc,
|
||||
|
||||
return buf;
|
||||
}
|
||||
|
||||
/**
|
||||
* switch_to_non_secure_mode() - switch to non-secure mode
|
||||
*
|
||||
* This routine is overridden by architectures requiring this feature.
|
||||
*/
|
||||
void __weak switch_to_non_secure_mode(void)
|
||||
{
|
||||
}
|
||||
|
||||
#else /* USE_HOSTCC */
|
||||
|
||||
void memmove_wd(void *to, void *from, size_t len, ulong chunksz)
|
||||
|
Reference in New Issue
Block a user