]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/CpuDxe: Fix MMU initialization problem
authorKurt Kennett <Kurt.Kennett@microsoft.com>
Mon, 26 Sep 2016 22:45:02 +0000 (22:45 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 26 Sep 2016 22:50:28 +0000 (15:50 -0700)
commitf6be48e9907d8bb8f8534df50049ce428c38f719
tree3a49643c540ace2287a3bef37b29a255ccb72485
parent7188b4557a607c667175e026b60c6648a438e829
ArmPkg/CpuDxe: Fix MMU initialization problem

During Mmu initialization in the CpuDxe, for a page table any bits set
in the 'NextSectionAttributes' are garbage and were set from bits that
are actually part of the pagetable address.  We clear it out to zero
so that the SyncCacheConfigPage will use the page attributes instead
of trying to convert the (bogus) section attributes into page
attributes.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Kurt Kennett <kurt.kennett@microsoft.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmPkg/Drivers/CpuDxe/Arm/Mmu.c