diff -r a179b74831c9 -r c1f20ce4abcf kernel/eka/memmodel/epoc/moving/arm/xmmu.cpp --- a/kernel/eka/memmodel/epoc/moving/arm/xmmu.cpp Thu Aug 19 11:14:22 2010 +0300 +++ b/kernel/eka/memmodel/epoc/moving/arm/xmmu.cpp Tue Aug 31 16:34:26 2010 +0300 @@ -1275,23 +1275,16 @@ } const TUint FBLK=(EMapAttrFullyBlocking>>12); -const TUint BFNC=(EMapAttrBufferedNC>>12); const TUint BUFC=(EMapAttrBufferedC>>12); -const TUint L1UN=(EMapAttrL1Uncached>>12); const TUint WTRA=(EMapAttrCachedWTRA>>12); -const TUint WTWA=(EMapAttrCachedWTWA>>12); const TUint WBRA=(EMapAttrCachedWBRA>>12); -const TUint WBWA=(EMapAttrCachedWBWA>>12); -const TUint AWTR=(EMapAttrAltCacheWTRA>>12); -const TUint AWTW=(EMapAttrAltCacheWTWA>>12); + +#if defined(__CPU_XSCALE__) || defined(__CPU_SA1__) const TUint AWBR=(EMapAttrAltCacheWBRA>>12); -const TUint AWBW=(EMapAttrAltCacheWBWA>>12); -const TUint MAXC=(EMapAttrL1CachedMax>>12); - -const TUint L2UN=(EMapAttrL2Uncached>>12); +#endif const TUint16 UNS=0xffffu; // Unsupported attribute -const TUint16 SPE=0xfffeu; // Special processing required + #if defined(__CPU_ARM710T__) || defined(__CPU_ARM720T__) // Original definition of C B @@ -1315,9 +1308,17 @@ {FBLK,FBLK,BUFC,BUFC,BUFC,BUFC,WBRA,WBRA,FBLK,FBLK,AWBR,AWBR,FBLK,FBLK,FBLK,WBRA}; #elif defined(__CPU_XSCALE__) +const TUint WBWA=(EMapAttrCachedWBWA>>12); +const TUint16 SPE=0xfffeu; // Special processing required + #ifdef __CPU_XSCALE_MANZANO__ +const TUint L1UN=(EMapAttrL1Uncached>>12); +const TUint BFNC=(EMapAttrBufferedNC>>12); + #ifdef __HAS_EXTERNAL_CACHE__ // ***MANZANO with L2 cache****** // +const TUint L2UN=(EMapAttrL2Uncached>>12); +const TUint MAXC=(EMapAttrL1CachedMax>>12); //Specifies TEX::CB bits for different L1/L2 cache attributes // ...876543201