X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fydirectenv.h;h=d05912643be2503de11fe8af442c8772d97e732a;hp=2b39af5f4cb07e7b349fb70d17179344a84bea68;hb=b9d0902ef84af3e242f6a95fb7a1b79e1eb94aa8;hpb=40b1e54e4e59aaeb6bafabcda5df47bddc5ecfee;ds=sidebyside diff --git a/direct/ydirectenv.h b/direct/ydirectenv.h index 2b39af5..d059126 100644 --- 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. * - * $Id: ydirectenv.h,v 1.1 2005-07-03 05:48:11 charles Exp $ + * $Id: ydirectenv.h,v 1.3 2006-05-21 09:39:12 charles Exp $ * */ @@ -43,6 +43,13 @@ #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))