* the entire disk in memory.
*/
pgcnt_t *page_array;
- pgcnt_t curr_page;
- bool cache_dirty;
+ pgcnt_t curr_page; ///< Current page loaded in disk buffer.
+ bool cache_dirty; ///< True if current cache is dirty (nneds to be flushed).
/**
* Lowest address, in page array, for free pages.
BattFsSuper *disk; ///< Disk context
filemode_t mode; ///< File open mode
pgcnt_t *start; ///< Pointer to page_array file start position.
+ pgcnt_t max_off; ///< Max page offset allocated for the file.
} BattFs;
/**