Move cache code to own file
[yaffs2.git] / direct / yaffs_osglue.h
index ec92f9d2b094c8fbb6ea892459429f4296b15fba..d2300a7b9c9e3eddfdb94405f59b3fa4e9ffb17b 100644 (file)
@@ -1,8 +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.
- *   for Toby Churchill Ltd and Brightstar Engineering
+ * Copyright (C) 2002-2018 Aleph One Ltd.
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  *
@@ -35,8 +34,13 @@ void yaffsfs_SetError(int err);
 void *yaffsfs_malloc(size_t size);
 void yaffsfs_free(void *ptr);
 
+void yaffsfs_get_malloc_values(unsigned *current, unsigned *high_water);
+
+
+int yaffsfs_CheckMemRegion(const void *addr, size_t size, int write_request);
+
 void yaffsfs_OSInitialisation(void);
+
 
 #endif