Skip to content
Commit d47a7746 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

arm: arm11: allow unaligned memory access



The UEFI spec mandates that unaligned memory access should be enabled if
supported by the CPU architecture.

This patch implements the function unaligned_access() to set the enable
unaligned data support flag and to clear the aligned flag in the system
control register (SCTLR). It is called when UEFI related commands like
bootefi are invoked.

Reported-by: default avatarCristian Ciocaltea <cristian.ciocaltea@gmail.com>
Tested-by: default avatarCristian Ciocaltea <cristian.ciocaltea@gmail.com>
Tested-by: default avatarGuillaume Gardet <Guillaume.Gardet@arm.com>
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent b20bb09b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment