Skip to content
Snippets Groups Projects
Commit d47a7746 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt :speech_balloon:
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: Heinrich Schuchardt's avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent b20bb09b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment