X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fydirectenv.h;h=d05912643be2503de11fe8af442c8772d97e732a;hp=561c8b552c2cd0bd7837a68d53b71e4d2c1fa9e5;hb=b9d0902ef84af3e242f6a95fb7a1b79e1eb94aa8;hpb=f67d10d7a5a6d1cc7d1cb6eaada2522873ce5e99 diff --git a/direct/ydirectenv.h b/direct/ydirectenv.h index 561c8b5..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.2 2005-10-07 03:48:50 charles Exp $ + * $Id: ydirectenv.h,v 1.3 2006-05-21 09:39:12 charles Exp $ * */ @@ -46,6 +46,11 @@ #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 YALERT(s) YINFO(s)