X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyaffs_osglue.h;h=d2300a7b9c9e3eddfdb94405f59b3fa4e9ffb17b;hp=ab05fd4fb0903b535474ebf6c9f243b6bb8c5bad;hb=2403de669c3c3deeb5efbadec2990c1f757e8281;hpb=efe3b1808c66ecfecf16498eee78aeedc9809705 diff --git a/direct/yaffs_osglue.h b/direct/yaffs_osglue.h index ab05fd4..d2300a7 100644 --- a/direct/yaffs_osglue.h +++ b/direct/yaffs_osglue.h @@ -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 * @@ -32,11 +31,16 @@ 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); + +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