Rename BITS_PER_PTR to CPU_BITS_PER_PTR.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 29 Aug 2004 22:05:16 +0000 (22:05 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 29 Aug 2004 22:05:16 +0000 (22:05 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@180 38d2e660-2303-0410-9eaa-f027e97ec537

mware/fifobuf.h

index 3e4021f6b9cf3f3e308a01e4aaa1aa246d4f9dc4..d1885a400a0431fd9119888a9b0763c0066d4dcb 100755 (executable)
@@ -43,6 +43,9 @@
 
 /*#*
  *#* $Log$
+ *#* Revision 1.15  2004/08/29 22:05:16  bernie
+ *#* Rename BITS_PER_PTR to CPU_BITS_PER_PTR.
+ *#*
  *#* Revision 1.14  2004/08/25 14:12:09  rasky
  *#* Aggiornato il comment block dei log RCS
  *#*
@@ -196,7 +199,7 @@ INLINE void fifo_flush(FIFOBuffer *fb)
 }
 
 
-#if CPU_REG_BITS >= BITS_PER_PTR
+#if CPU_REG_BITS >= CPU_BITS_PER_PTR
 
        /*
         * 16/32bit CPUs that can update a pointer with a single write
@@ -206,7 +209,7 @@ INLINE void fifo_flush(FIFOBuffer *fb)
        #define fifo_push_locked(fb, c) fifo_push((fb), (c))
        #define fifo_flush_locked(fb) fifo_flush((fb))
 
-#else /* CPU_REG_BITS < BITS_PER_PTR */
+#else /* CPU_REG_BITS < CPU_BITS_PER_PTR */
 
        /*!
         * Similar to fifo_isempty(), but with stronger guarantees for