X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=yportenv.h;h=f95c6eebd06f5cd5d75a85603b9e12d3715a99ec;hb=fd03f2753af313fc90e59a4ef944106fac3afc0c;hp=b330375888f19595e60604183f8a35ab5b20f3be;hpb=d3a46536d1812c81e1c494235ce8f7e25ebb0e1b;p=yaffs%2F.git diff --git a/yportenv.h b/yportenv.h index b330375..f95c6ee 100644 --- a/yportenv.h +++ b/yportenv.h @@ -15,7 +15,7 @@ * * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. * - * $Id: yportenv.h,v 1.8 2003-01-14 23:15:41 charles Exp $ + * $Id: yportenv.h,v 1.10 2003-01-31 03:30:33 charles Exp $ * */ @@ -44,7 +44,7 @@ #define YAFFS_LOSTNFOUND_NAME "Lost Clusters" #define YAFFS_LOSTNFOUND_PREFIX "OBJ" -#define YPRINTF(x) +#define YPRINTF(x) RETAILMSG(1,x) // Always pass the sum compare to overcome the case insensitivity issue #define yaffs_SumCompare(x,y) ((x) == (y)) @@ -104,7 +104,7 @@ extern unsigned yfsd_U32FileTimeNow(void); #elif defined CONFIG_YAFFS_DIRECT -// Directct interface +// Direct interface #include "stdlib.h" #include "stdio.h" @@ -184,6 +184,7 @@ extern unsigned yaffs_traceMask; #define YAFFS_TRACE_SCAN 0x0008 #define YAFFS_TRACE_BAD_BLOCKS 0x0010 #define YAFFS_TRACE_ERASE 0x0020 +#define YAFFS_TRACE_GC 0x0040 #define YAFFS_TRACE_TRACING 0x0100 #define YAFFS_TRACE_ALWAYS 0x0200 #define YAFFS_TRACE_BUG 0x8000