Flash Driver MDD IOCTLs (Compact 2013)
3/26/2014
The following table shows the flash driver MDD IOCTLs with a description of the purpose of each.
Programming element |
Description |
---|---|
This IOCTL creates one or more new partitions located at the end of the existing partitions. |
|
This IOCTL deletes a set of sector ranges from the storage media in a single operation. Multiple sector ranges that are not contiguous are able to be specified in a single request. |
|
This IOCTL erases all of the blocks in a single partition. |
|
This IOCTL erases all of the blocks in the flash region and reinitializes the partition table. |
|
This IOCTL retrieves, for every logical sector address provided, the corresponding statically mapped virtual address of the physical sector. |
|
This IOCTL retrieves the entire partition table across all flash regions. The partition table is returned as an array of FLASH_PARTITION_INFO structures, with the number of elements equal to the number of partitions on the flash storage media. |
|
This IOCTL retrieves the number of free blocks in a particular region that can be used for creating new partitions. The block count retrieved accounts for bad blocks. |
|
This IOCTL locks one or more partitions, such that blocks can not be unlocked without a power reset. All other partitions on store will be unlocked. This IOCTL allows for regions that are not contiguous to be locked, but the flash part may not support this behavior. |
|
This IOCTL performs a secure wipe on a single partition. |
|
This IOCTL reads a set of sector range/sector data pairs from the storage media in a single transfer. |
|
This IOCTL writes a set of sector range/sector data pairs to the storage media in a single transfer. |