ArmPkg/CpuDxe: Fixed attribute setting in GetNextEntryAttribute()

The wrong attribute was used to set the region.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14676 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Olivier Martin 2013-09-16 09:32:59 +00:00 committed by oliviermartin
parent 2a414cd3c3
commit 429358b59d
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ GetNextEntryAttribute (
SetGcdMemorySpaceAttributes (MemorySpaceMap, NumberOfDescriptors,
*StartGcdRegion,
(BaseAddress + (Index * TT_ADDRESS_AT_LEVEL(TableLevel))) - *StartGcdRegion,
PageAttributeToGcdAttribute (EntryAttribute));
PageAttributeToGcdAttribute (*PrevEntryAttribute));
}
// Start of the new region