Revision: 14676
          http://sourceforge.net/p/edk2/code/14676
Author:   oliviermartin
Date:     2013-09-16 09:32:59 +0000 (Mon, 16 Sep 2013)
Log Message:
-----------
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 <[email protected]>

Modified Paths:
--------------
    trunk/edk2/ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c

Modified: trunk/edk2/ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c
===================================================================
--- trunk/edk2/ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c      2013-09-16 09:29:52 UTC 
(rev 14675)
+++ trunk/edk2/ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c      2013-09-16 09:32:59 UTC 
(rev 14676)
@@ -90,7 +90,7 @@
           SetGcdMemorySpaceAttributes (MemorySpaceMap, NumberOfDescriptors,
               *StartGcdRegion,
               (BaseAddress + (Index * TT_ADDRESS_AT_LEVEL(TableLevel))) - 
*StartGcdRegion,
-              PageAttributeToGcdAttribute (EntryAttribute));
+              PageAttributeToGcdAttribute (*PrevEntryAttribute));
         }
 
         // Start of the new region

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to