X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Fyaffscfg.c;h=b1d311e56937b0ba62a4468b6f699b8ad75cac42;hb=b7513bb1b6b84d430d1f1af6ccf2cefe8c2c5ce0;hp=42c9dd2bbcfa3b363918d3f5b52542b0d7365992;hpb=2e51ed27a28a076ee9eb870ba8c0eb09b8114b01;p=yaffs2.git diff --git a/direct/yaffscfg.c b/direct/yaffscfg.c index 42c9dd2..b1d311e 100644 --- a/direct/yaffscfg.c +++ b/direct/yaffscfg.c @@ -1,5 +1,17 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. + * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. + * + * Copyright (C) 2002-2007 Aleph One Ltd. + * for Toby Churchill Ltd and Brightstar Engineering + * + * Created by Charles Manning + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +/* * yaffscfg.c The configuration for the "direct" use of yaffs. * * This file is intended to be modified to your requirements. @@ -32,6 +44,16 @@ __u32 yaffsfs_CurrentTime(void) return 0; } +void *yaffs_malloc(size_t size) +{ + return malloc(size); +} + +void yaffs_free(void *ptr) +{ + free(ptr); +} + void yaffsfs_LocalInitialisation(void) { // Define locking semaphore.