sectorinfo.h
来自「AMD公司官方版FLASH文件系统。有详细说明文档和Windows仿真测试环境。」· C头文件 代码 · 共 33 行
H
33 行
/**
* File: SectorInfo.h
* Stores basic information about the sectors.
*
* Functions in this file do not read or write to the flash
* they only organize and store the data given to them.
*
*/
#ifndef _SECTOR_INFO_H_
#define _SECTOR_INFO_H_
#include "ffs.h"
DMS_STATUS dms_SectorInfoDefineArchitecture(SECTOR_DESCRIPTIOR *apDeviceArchitecture);
void dms_SectorInfoFinalize(void);
DMS_STATUS dms_SectorInfoGetIndexFromAddress(DWORD adwAddress, WORD *awSectorIndex);
WORD dms_SectorInfoIsValidAddress(DWORD adwAddress);
DWORD dms_SectorInfoGetBlockTableAddress(WORD awSectorIndex);
DWORD dms_SectorInfoGetBlockAddress(WORD awSectorIndex, WORD awSectorBlockIndex);
DWORD dms_SectorInfoGetAddress(WORD awSectorIndex);
DWORD dms_SectorInfoGetEndingAddress(WORD awSectorIndex);
WORD dms_SectorInfoGetBlockCount(WORD awSectorIndex);
DWORD dms_SectorInfoGetSize(WORD awSectorIndex);
WORD dms_SectorInfoGetCount(void);
WORD dms_SectorInfoGetIndexOfLargestSector(void);
WORD dms_SectorInfoGetLargestSectorBlockCount(void);
DWORD dms_SectorInfoGetTotalSize(void);
DWORD dms_SectorInfoGetTotalBlockCount(void);
DMS_STATUS dms_SectorInfoCheckArchitectureValidity(void);
#endif /* _SECTOR_INFO_H_ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?