|
OpenSSD Cosmos+ Platform Firmware
0.0.2
The firmware of Cosmos+ OpenSSD Platform for TOSHIBA nand flash module.
|
#include <nvme.h>
Data Fields | |
| union { | |
| unsigned int dword [16] | |
| struct { | |
| struct { | |
| unsigned char OPC | |
| unsigned char FUSE: 2 | |
| unsigned char reserved0: 5 | |
| unsigned char PSDT: 1 | |
| unsigned short CID | |
| } | |
| unsigned int NSID | |
| unsigned int reserved1 [2] | |
| unsigned int MPTR [2] | |
| unsigned int PRP1 [2] | |
| unsigned int PRP2 [2] | |
| unsigned int dword10 | |
| unsigned int dword11 | |
| unsigned int dword12 | |
| unsigned int dword13 | |
| unsigned int dword14 | |
| unsigned int dword15 | |
| } | |
| }; | |
The structure of a I/O queue entry for I/O commands, has the same structure as admin command. Check the NVME_COMMAND and command specified structs for detailed info.
| union { ... } _NVME_IO_COMMAND::@67 |
| unsigned int _NVME_IO_COMMAND::dword10 |
| unsigned int _NVME_IO_COMMAND::MPTR[2] |
| unsigned int _NVME_IO_COMMAND::reserved1[2] |
For read command, CDW[02,03] were used for:
For write command, CDW[02,03] and CDW[14] were used for: