audk/ArmVirtPkg/Library/ArmXenRelocatablePlatformLib
Ard Biesheuvel 94a3845be6 ArmVirtPkg/FdtParser: avoid unaligned accesses with the MMU off
When parsing the device tree to find the memory node, we are still running
with the MMU off, which means unaligned memory accesses are not allowed.
Since the FDT only mandates 32-bit alignment, 64-bit quantities are not
guaranteed to appear naturally aligned, and so should be accessed using
32-bit accesses instead.

Reported-by: Julien Grall <julien.grall@arm.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2016-09-13 15:35:36 +01:00
..
AARCH64 ArmVirtPkg: clean up assembly source files 2016-08-11 12:29:31 +02:00
ARM ArmVirtPkg: clean up assembly source files 2016-08-11 12:29:31 +02:00
ArmXenRelocatablePlatformLib.inf ArmVirtPkg/ArmXenRelocatablePlatformLib: add ARM support 2015-12-17 17:11:25 +00:00
FdtParser.c ArmVirtPkg/FdtParser: avoid unaligned accesses with the MMU off 2016-09-13 15:35:36 +01:00
RelocatableVirt.c Renamed ArmPlatformPkg/ArmVirtualizationPkg into ArmVirtPkg 2015-05-29 13:50:43 +00:00
XenVirtMem.c Renamed ArmPlatformPkg/ArmVirtualizationPkg into ArmVirtPkg 2015-05-29 13:50:43 +00:00