⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 faluserdirective.h

📁 Nand Flash Translation Layer 用于nandflash的操作。 bad block memory map garbage collection average er
💻 H
字号:




#ifndef __FALUSERDIRECTIVE__H__
#define __FALUSERDIRECTIVE__H__




//*********** PARTIOTION **************///

#define UD_START_PARTITION 0

/*indicates the block physical number of the Nand 
flash where start the partition dedicated to data 
storage  */


#define UD_END_PARTITION   4095

/*indicates the block physical number of the Nand 
flash where end the partition dedicated to data 
storage  */


#define HIDE_BLOCK_NUMBER	20

/*= indicates the block physical numbers of the 
Nand flash that the Translation Module reserves 
to allocate the Leaves of the tree structure 
and possible bad blocks that can be present in device*/


#define MAXIMUM_REWRITING	10
/*is the number maximum writing possible before GC*/

#define SPACE_TO_FREE 40//40
#define VB_SIZE				1
/* indicates block physical numbers of the Nand 
flash that compose one Virtual Block */


#define GARBAGE_THRESHOLD	99
/* is the threshold in percentage over 
which the Translation Module executes a Garbage 
Collector that prunes best tree */


#define MINIMAL_RAM			0
/*indicates through a Boolean variable if the 
Translation Module must reduce at minimum the 
space occupied in RAM of the data structure */

#endif //__FALUSERDIRECTIVE__H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -