]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/BdsLinuxFdt.c: Check that FDT blob is correctly loaded.
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 12 Mar 2013 01:01:55 +0000 (01:01 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 12 Mar 2013 01:01:55 +0000 (01:01 +0000)
commit7e91decd13feec209ce38c92d1aac032f70ca552
treed362f676b05eae40355e21a1ba2debfd60c8f6c8
parent39f58c9b40ca55cec4eeab45ff624bc3551ef56e
ArmPkg/BdsLinuxFdt.c: Check that FDT blob is correctly loaded.

Add some checks in the code loading an FDT blob from a memory-mapped device
so that UEFI will detect and print an error message if the address
range doesn't cover the whole file.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14192 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/BdsLib/BdsLinuxFdt.c