kernel/eka/memmodel/epoc/flexible/mmu/mm.h
branchRCL_3
changeset 117 5b5d147c7838
parent 87 2f92ad2dc5db
child 256 c1f20ce4abcf
equal deleted inserted replaced
110:c734af59ce98 117:5b5d147c7838
  1088 	{ a = (T)(a&~b&~c); }
  1088 	{ a = (T)(a&~b&~c); }
  1089 
  1089 
  1090 template <class T>
  1090 template <class T>
  1091 FORCE_INLINE void FlagClear(T& a,const T b,const T c,const T d)
  1091 FORCE_INLINE void FlagClear(T& a,const T b,const T c,const T d)
  1092 	{ a = (T)(a&~b&~c&~d); }
  1092 	{ a = (T)(a&~b&~c&~d); }
       
  1093 
       
  1094 /// Utility function to calculate the minimum of two unsigned integers
       
  1095 FORCE_INLINE TUint MinU(TUint a, TUint b)
       
  1096 	{ return a <= b ? a : b; }
       
  1097 
       
  1098 /// Utility function to calculate the maximum of two unsigned integers
       
  1099 FORCE_INLINE TUint MaxU(TUint a, TUint b)
       
  1100 	{ return a >= b ? a : b; }
  1093 
  1101 
  1094 
  1102 
  1095 #include <memmodel/epoc/mmubase/kblockmap.h>
  1103 #include <memmodel/epoc/mmubase/kblockmap.h>
  1096 
  1104 
  1097 /**
  1105 /**