kernel/eka/memmodel/epoc/moving/arm/xmmu.cpp
changeset 109 b3a1d9898418
parent 90 947f0dc9f7a8
child 257 3e88ff8f41d5
child 286 48e57fb1237e
--- a/kernel/eka/memmodel/epoc/moving/arm/xmmu.cpp	Mon May 03 13:47:38 2010 +0300
+++ b/kernel/eka/memmodel/epoc/moving/arm/xmmu.cpp	Fri May 14 17:13:29 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