Adding checkpoint and robustness improvements
[yaffs2.git] / direct / yaffscfg.c
index 42c9dd2bbcfa3b363918d3f5b52542b0d7365992..b1d311e56937b0ba62a4468b6f699b8ad75cac42 100644 (file)
@@ -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 <charles@aleph1.co.uk>
+ *
+ * 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.