Home |
Function MapWindow |
Function MapWindowMTD driver function MapWindow is called whenever the linear flash disk driver needs to access portions of the flash memory: void * RTFAPI MapWindow(void * DriveData, DWORD BlockIndex, DWORD WindowIndex); ParametersDriveDataPointer to the DeviceData found in the MTDData member of the RTFDrvFlashData structure of the flash device. BlockIndexIndex of the erase block to map. WindowIndexIndex of the window within the erase block to map. return valueAddress of the mapped window. The mapped window address range must allow at least a read access to the flash memory.
|