audk/ArmPkg/Library
Michael Zimmermann 889c7ca1b5 ArmPkg/ArmMmuLib ARM: fix page size granularity in initial MMU setting
From what I can see this bug dates back to the commit from 2011 where
support for this was added: 2cf4b60895

The first problem is that PopulateLevel2PageTable overflows the
translation table buffer because it doesn't verify that the size
actually fits within one level 2 page table.

The second problem is that the loop in FillTranslationTable doesn't
care about the PhysicalBase or the RemainLength and always substracts
one section size from RemainLength.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2017-12-20 20:57:03 +00:00
..
ArmArchTimerLib
ArmCacheMaintenanceLib
ArmDisassemblerLib
ArmExceptionLib ArmPkg/ArmExceptionLib: Add implementation of new API 2017-12-08 14:38:49 +08:00
ArmGenericTimerPhyCounterLib
ArmGenericTimerVirtCounterLib
ArmGicArchLib
ArmGicArchSecLib
ArmHvcLib
ArmLib
ArmMmuLib ArmPkg/ArmMmuLib ARM: fix page size granularity in initial MMU setting 2017-12-20 20:57:03 +00:00
ArmPsciResetSystemLib
ArmSmcLib
ArmSmcLibNull
ArmSmcPsciResetSystemLib
ArmSoftFloatLib
ArmSvcLib
CompilerIntrinsicsLib
DebugAgentSymbolsBaseLib
DebugPeCoffExtraActionLib
DefaultExceptionHandlerLib
GccLto
PeiServicesTablePointerLib
PlatformBootManagerLib ArmPkg/PlatformBootManagerLib: add missing newline 2017-12-11 18:05:41 +00:00
RvdPeCoffExtraActionLib
SemiHostingDebugLib
SemiHostingSerialPortLib
SemihostLib