cache.h

00001 /*****************************************************************************
00002  *  Cache for LibELM                                                         *
00003  *  By yellow.wood.goblin and trap15                                         *
00004  *****************************************************************************/
00005 
00006 #ifndef _CACHE_ELM
00007 
00008 #ifdef __cplusplus
00009 extern "C" {
00010 #endif
00011 
00012 #define CACHE_SIZE      8
00013 
00014 int _libelmcache_read_from_cache(u32 drv, u32 sector, u8 *buff);
00015 void _libelmcache_add_to_cache(u32 drv, u32 sector, u8 *buff);
00016 void _libelmcache_invalidate_cache(u32 drv, u32 sector, u8 count);
00017 
00018 #ifdef __cplusplus
00019 };
00020 #endif
00021 
00022 #define _CACHE_ELM
00023 #endif
00024 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated by  doxygen 1.6.3