Add nand driver that works with a nand simulator
[yaffs2.git] / direct / yaffs_osglue.h
index ab05fd4fb0903b535474ebf6c9f243b6bb8c5bad..7fe0bf4fc294f4e5f6c0baae3fe4faeecc9fda03 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
  *
- * Copyright (C) 2002-2010 Aleph One Ltd.
+ * Copyright (C) 2002-2011 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
@@ -32,11 +32,13 @@ u32 yaffsfs_CurrentTime(void);
 
 void yaffsfs_SetError(int err);
 
-void *yaffs_malloc(size_t size); 
-void yaffs_free(void *ptr);
+void *yaffsfs_malloc(size_t size);
+void yaffsfs_free(void *ptr);
+
+int yaffsfs_CheckMemRegion(const void *addr, size_t size, int writeable);
 
 void yaffsfs_OSInitialisation(void);
+
 
 #endif