Send a command to the specified device.
result = lv1_storage_send_device_command( /*IN*/ dev_id, cmd_id, cmd_block, cmd_size, data_buffer, blocks, /*OUT*/ &lv1_tag );
| Inputs | |
|---|---|
| Register | Description |
| R3 | dev_id - device id |
| R4 | cmd_id - see notes |
| R5 | cmd_block - lpar address of command block? |
| R6 | cmd_size - size of command block? |
| R7 | data_buffer - lpar address of data buffer? |
| R8 | blocks - number of data blocks? |
| Outputs | |
| Register | Description |
| R3 | Status - 0 = OK, Other values are unknown, but indicate failure. |
| R4 | lv1_tag - tag to identify operation? |
Notes:
Command ids specified in ps3_storage.h:
| Command | cmd_id |
|---|---|
| LV1_STORAGE_SEND_ATAPI_COMMAND | 0×01 |
| LV1_STORAGE_ATA_HDDOUT | 0×23 |