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

📄 celltable.h

📁 AMD公司官方版FLASH文件系统。有详细说明文档和Windows仿真测试环境。
💻 H
字号:
/**
 * CellTable.h
 */
#ifndef _CELL_TABLE_H_
#define _CELL_TABLE_H_

#include "Ffs.h"

DMS_STATUS dms_CellTableInitialize(WORD awCellCount);
void dms_CellTableFinalize(void);
DMS_STATUS dms_CellTableAddBlock(WORD awCellIndex, 
                                 WORD awBlockIndex, 
                                 BYTE abCellStatus, 
                                 WORD awSectorIndex, 
                                 WORD awSectorBlockIndex);
DMS_STATUS dms_CellTableAddAvailableBlock(WORD awSectorIndex, WORD awSectorBlockIndex);
void dms_CellTableAddGarbageBlock(WORD awSectorIndex, WORD awSectorBlockIndex);
DMS_STATUS dms_CellTableGetBestSectorToErase(WORD *apwSectorIndex);
BYTE dms_CellTableIsBlockAvailable(void);
DMS_STATUS dms_CellTableGetAvailableBlock(WORD awCellIndex, WORD awBlockIndex,
                                          WORD *apwSectorIndex, WORD *apwSectorBlockIndex);
DMS_STATUS dms_CellTableCheckValidity(void);
DMS_STATUS dms_CellTableSetCellInProcess(WORD awCellIndex);
DMS_STATUS dms_CellTableMoveBlock(WORD awSectorIndex, WORD awSectorBlockIndex,
                                  WORD awCellIndex,
                                  WORD *apwNewSectorIndex, WORD *apwNewSectorBlockIndex);
WORD dms_CellTableDeleteCellInProcess(WORD *apwSectorIndex, WORD *apwSectorBlockIndex);
WORD dms_CellTableDeleteBlockInProcess(WORD *apwSectorIndex, WORD *apwSectorBlockIndex);
void dms_CellTableResetBlockPointer(WORD awCellIndex);
WORD dms_CellTableGetNextBlock(WORD *apwSectorIndex, WORD *apwSectorBlockIndex);


#endif /* _CELL_TABLE_H_ */

⌨️ 快捷键说明

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