Revision: 14700
http://sourceforge.net/p/edk2/code/14700
Author: oliviermartin
Date: 2013-09-23 09:38:53 +0000 (Mon, 23 Sep 2013)
Log Message:
-----------
ArmPkg/CpuDxe: Fixed the condition that checks if the level-1 descriptor points
to a level-2 page table
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <[email protected]>
Modified Paths:
--------------
trunk/edk2/ArmPkg/Drivers/CpuDxe/ArmV6/Mmu.c
Modified: trunk/edk2/ArmPkg/Drivers/CpuDxe/ArmV6/Mmu.c
===================================================================
--- trunk/edk2/ArmPkg/Drivers/CpuDxe/ArmV6/Mmu.c 2013-09-23 09:20:03 UTC
(rev 14699)
+++ trunk/edk2/ArmPkg/Drivers/CpuDxe/ArmV6/Mmu.c 2013-09-23 09:38:53 UTC
(rev 14700)
@@ -851,7 +851,7 @@
SectionDescriptor = FirstLevelTable[TableIndex];
// If the entry is a level-2 page table then we scan it to find the end of
the region
- if ((SectionDescriptor & TT_DESCRIPTOR_SECTION_TYPE_MASK) ==
TT_DESCRIPTOR_SECTION_TYPE_PAGE_TABLE) {
+ if (TT_DESCRIPTOR_SECTION_TYPE_IS_PAGE_TABLE (SectionDescriptor)) {
// Extract the page table location from the descriptor
PageTable = (UINT32*)(SectionDescriptor &
TT_DESCRIPTOR_SECTION_PAGETABLE_ADDRESS_MASK);
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