Home |
The ISO 9660 File System Structure The exFAT File System Structure RTFiles-32 in Embedded Applications NVMe SSD Driver |
NVMe SSD DriverNVMe (Non-Volatile Memory Express) is a host controller designed for SSDs. NVMe controllers have PCI class code 010802h. The NVMe driver supports up to 2 NVMe controllers, each of which may handle numerous attached SSDs (called Namespace in the NVMe specification). If the I/O buffer supplied by the application in an I/O request is not at least DWORD aligned and device flag RTF_DEVICE_NO_DIAG_MSG has not been set, the driver will display warning message: NVMe: using intermediate sector buffer due to misaligned buffer using function RTFDiagMessage. The driver will then use an intermediate and aligned buffer allocated dynamically from the heap. The use of the intermediate buffer can have a negative effect on the application's performance. RTFDevice.DeviceTypeRTFDevice.DeviceType must be set to RTF_DEVICE_FDISK for this driver. RTFDevice.DeviceNumberThe low 16 bits specify the NVMe contoller to use. Its value may be 0 or 1. The upper 16 bits specify the zero-based SSD device (Namespace) attached to the NVMe controller. RTFDevice.DeviceFlagsAll device independent device flags documented in section Device List are support. There are no NVMe specific flags. The NVMe driver is fully reentrant. Thus, device flag RTF_DEVICE_NEW_LOCK can be specified on every device number. RTFDevice.DriverThis field must point to RTFDrvNVMe. RTFDevice.DriverDataThe NVMe disk driver requires a pointer to a structure of type RTFDrvNVMeData for RTFDevice.DriverData. It should be initialized to zero.
|