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

📄 sectorinfo.h

📁 AMD公司官方版FLASH文件系统。有详细说明文档和Windows仿真测试环境。
💻 H
字号:
/**
 * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -