mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
2a414cd3c3
commit
429358b59d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user