X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyaffs_osglue.h;h=5325e52fc51b884b0049995fdb331519636a0f82;hp=7fe0bf4fc294f4e5f6c0baae3fe4faeecc9fda03;hb=HEAD;hpb=f7df29194a2f2970e53f37836f114184ab53fc7a diff --git a/direct/yaffs_osglue.h b/direct/yaffs_osglue.h index 7fe0bf4..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. * - * Copyright (C) 2002-2011 Aleph One Ltd. - * for Toby Churchill Ltd and Brightstar Engineering + * Copyright (C) 2002-2018 Aleph One Ltd. * * Created by Charles Manning * @@ -35,7 +34,10 @@ void yaffsfs_SetError(int err); void *yaffsfs_malloc(size_t size); void yaffsfs_free(void *ptr); -int yaffsfs_CheckMemRegion(const void *addr, size_t size, int writeable); +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);