X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyaffs_osglue.h;h=739dddbde7f3e98d0f748880fb8d562b2321396b;hp=ab05fd4fb0903b535474ebf6c9f243b6bb8c5bad;hb=fb2ca1ef56af2a6ca9c45a8b3e4e99dec40cb429;hpb=716faf42637fc29ca3d2510d8a47fb2516f794e1 diff --git a/direct/yaffs_osglue.h b/direct/yaffs_osglue.h index ab05fd4..739dddb 100644 --- a/direct/yaffs_osglue.h +++ b/direct/yaffs_osglue.h @@ -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 @@ -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 write_request); void yaffsfs_OSInitialisation(void); - + #endif