projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change nBytesPerChunk to nDataBytesPerChunk
[yaffs2.git]
/
direct
/
ydirectenv.h
diff --git
a/direct/ydirectenv.h
b/direct/ydirectenv.h
index 2b39af5f4cb07e7b349fb70d17179344a84bea68..c651394c80b0901de4aa2d115f8e3ba60f5d2159 100644
(file)
--- a/
direct/ydirectenv.h
+++ b/
direct/ydirectenv.h
@@
-14,7
+14,7
@@
*
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*
*
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*
- * $Id: ydirectenv.h,v 1.
1 2005-07-03 05:48:11
charles Exp $
+ * $Id: ydirectenv.h,v 1.
4 2006-10-03 10:13:03
charles Exp $
*
*/
*
*/
@@
-38,11
+38,21
@@
#define yaffs_sprintf sprintf
#define yaffs_toupper(a) toupper(a)
#define yaffs_sprintf sprintf
#define yaffs_toupper(a) toupper(a)
+#ifdef NO_Y_INLINE
+#define Y_INLINE
+#else
#define Y_INLINE inline
#define Y_INLINE inline
-
+#endif
#define YMALLOC(x) malloc(x)
#define YFREE(x) free(x)
#define YMALLOC(x) malloc(x)
#define YFREE(x) free(x)
+#define YMALLOC_ALT(x) malloc(x)
+#define YFREE_ALT(x) free(x)
+
+#define YMALLOC_DMA(x) malloc(x)
+
+#define YYIELD() do {} while(0)
+
//#define YINFO(s) YPRINTF(( __FILE__ " %d %s\n",__LINE__,s))
//#define YINFO(s) YPRINTF(( __FILE__ " %d %s\n",__LINE__,s))