VLSI Solution Oy / MegaLib Documentation
mapper.h File Reference
#include <vstypes.h>
Include dependency graph for mapper.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Detailed Description
File system layer 5: Mapper layer. The mapper layer takes care of mapping between logical and physical blocks. Also, if there is a difference between read/write block size and erase page size, it is hidden by the mapper. Also caching is performed by the mapper.
With simple file systems, like MMC, where the MMC card itself takes care of mapping and erasing, caching is the only operation needed by the mapper.
Definition in file mapper.h.
Define Documentation
#define FS_MAPPER_VERSION 0x010C |
|
|
Current version number. 8 MSBs contain version number, 8 LSBs size of the structure in words.
Version number history:
-
0x010C First version
Definition at line 28 of file mapper.h. |
#define MAP_BLOCK_SIZE_OFFSET 1 |
|
#define MAP_BLOCKS_OFFSET 2 |
|
#define MAP_CACHE_BLOCKS_OFFSET 4 |
|
#define MAP_CREATE_OFFSET 5 |
|
#define MAP_DELETE_OFFSET 6 |
|
#define MAP_FLUSH_OFFSET 10 |
|
#define MAP_FREE_OFFSET 9 |
|
#define MAP_PHYSICAL_OFFSET 11 |
|
#define MAP_READ_OFFSET 7 |
|
#define MAP_VERSION_OFFSET 0 |
|
#define MAP_WRITE_OFFSET 8 |
|
All software copyright 2005-2006
VLSI Solution OY.
Redistribution of this software is strictly forbidden.