equal
deleted
inserted
replaced
1615 aNumPages=aSeparateGlobal ? KPageDirectorySize/KPageSize : nlocal; |
1615 aNumPages=aSeparateGlobal ? KPageDirectorySize/KPageSize : nlocal; |
1616 __KTRACE_OPT(KMMU,Kern::Printf("nlocal=%d, aNumPages=%d",nlocal,aNumPages)); |
1616 __KTRACE_OPT(KMMU,Kern::Printf("nlocal=%d, aNumPages=%d",nlocal,aNumPages)); |
1617 if (aNumPages>1) |
1617 if (aNumPages>1) |
1618 { |
1618 { |
1619 TInt align=aSeparateGlobal ? KPageDirectoryShift : KPageDirectoryShift-1; |
1619 TInt align=aSeparateGlobal ? KPageDirectoryShift : KPageDirectoryShift-1; |
1620 r=AllocContiguousRam(aNumPages<<KPageShift, aPhysAddr, EPageFixed, align); |
1620 r=AllocContiguousRam(aNumPages<<KPageShift, aPhysAddr, align); |
1621 } |
1621 } |
1622 else |
1622 else |
1623 r=AllocRamPages(&aPhysAddr,1, EPageFixed); |
1623 r=AllocRamPages(&aPhysAddr,1, EPageFixed); |
1624 __KTRACE_OPT(KMMU,Kern::Printf("r=%d, phys=%08x",r,aPhysAddr)); |
1624 __KTRACE_OPT(KMMU,Kern::Printf("r=%d, phys=%08x",r,aPhysAddr)); |
1625 if (r!=KErrNone) |
1625 if (r!=KErrNone) |