kernel/eka/memmodel/epoc/flexible/mmu/mm.h
changeset 176 af6ec97d9189
parent 121 661475905584
equal deleted inserted replaced
175:5af6c74cd793 176:af6ec97d9189
  1121 	{ a = (T)(a&~b&~c); }
  1121 	{ a = (T)(a&~b&~c); }
  1122 
  1122 
  1123 template <class T>
  1123 template <class T>
  1124 FORCE_INLINE void FlagClear(T& a,const T b,const T c,const T d)
  1124 FORCE_INLINE void FlagClear(T& a,const T b,const T c,const T d)
  1125 	{ a = (T)(a&~b&~c&~d); }
  1125 	{ a = (T)(a&~b&~c&~d); }
       
  1126 
       
  1127 /// Utility function to calculate the minimum of two unsigned integers
       
  1128 FORCE_INLINE TUint MinU(TUint a, TUint b)
       
  1129 	{ return a <= b ? a : b; }
       
  1130 
       
  1131 /// Utility function to calculate the maximum of two unsigned integers
       
  1132 FORCE_INLINE TUint MaxU(TUint a, TUint b)
       
  1133 	{ return a >= b ? a : b; }
  1126 
  1134 
  1127 
  1135 
  1128 #include <memmodel/epoc/mmubase/kblockmap.h>
  1136 #include <memmodel/epoc/mmubase/kblockmap.h>
  1129 
  1137 
  1130 /**
  1138 /**