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

📄 flashdll.h

📁 AMD公司官方版FLASH文件系统。有详细说明文档和Windows仿真测试环境。
💻 H
字号:
/**
 * FlashDll.h
 */
// Memory mapping functions
extern __declspec(dllexport) long _stdcall 
InitPCIDataSpace(void);

extern __declspec(dllexport) long _stdcall 
FreePCIDataSpace(void);

extern __declspec(dllexport) WORD* _stdcall
GetBaseFlashWordPointer(void);

extern __declspec(dllexport) BYTE* _stdcall
GetBaseFlashBytePointer(void);

// Autoselect Functions
extern __declspec(dllexport) long _stdcall 
GetManufacturerID(long sector);

extern __declspec(dllexport) long _stdcall 
GetDeviceID(long sector);

extern __declspec(dllexport) long _stdcall 
GetExtendedID(long sector);

extern __declspec(dllexport) long _stdcall 
GetSectorProtectStatus(long sector);

// Information Functions
extern __declspec(dllexport) long _stdcall 
GetNumSectors(void);

extern __declspec(dllexport) long _stdcall 
GetSectorSize(long sector);

extern __declspec(dllexport) long _stdcall 
GetDeviceName(unsigned long id, char* name);

extern __declspec(dllexport) long _stdcall 
GetDeviceSize(void);

extern __declspec(dllexport) long _stdcall 
TestForCFI(void);

extern __declspec(dllexport) long _stdcall 
HexStringToLong(char* instring);

extern __declspec(dllexport) long _stdcall 
TestForReset(void);

extern __declspec(dllexport) long _stdcall 
TestForInsystem(void);

extern __declspec(dllexport) long _stdcall 
TestForWPACC(void);

extern __declspec(dllexport) long _stdcall 
TestForBlank(void);

extern __declspec(dllexport) long _stdcall 
GetDeviceList(long code, char* name);

extern __declspec(dllexport) long _stdcall 
GetChecksum(void);

// Erase Functions
extern __declspec(dllexport) long _stdcall 
DoSectorErase(long sector);

extern __declspec(dllexport) long _stdcall 
DoChipErase(void);

// Data polling code
extern __declspec(dllexport) long _stdcall 
GetFlashStatus(void);

// Chip Select Pinger functions
extern __declspec(dllexport) long _stdcall 
ToggleVID(void);

extern __declspec(dllexport) long _stdcall 
ToggleACC(void);

extern __declspec(dllexport) long _stdcall 
ToggleWP(void);

// Programming/Reading Functions
extern __declspec(dllexport) long _stdcall
ProgramByte(long sector, long offset, long data);

extern __declspec(dllexport) long _stdcall
ProgramWord(long sector, long offset, long data);

extern __declspec(dllexport) long _stdcall
ReadByte(long sector, long offset);

extern __declspec(dllexport) long _stdcall
ReadWord(long sector, long offset);

extern __declspec(dllexport) long _stdcall
DumpFlashToFile(char* filename);

extern __declspec(dllexport) long _stdcall
DumpFileToFlash(char* filename);

extern __declspec(dllexport) long _stdcall 
ProgramDiagPattern(void);

extern __declspec(dllexport) long _stdcall 
ProgramRandomPattern(void);

// Protection / Unprotection Functions

extern __declspec(dllexport) long _stdcall
ProtectSector(long sector);

extern __declspec(dllexport) long _stdcall
UnprotectSectors(void);

// Bus width swapping
extern __declspec(dllexport) long _stdcall
SetByteMode(void);

extern __declspec(dllexport) long _stdcall
SetWordMode(void);

⌨️ 快捷键说明

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