NV services: Difference between revisions
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
| 0 || [[#Open]] | | 0 || [[#Open]] | ||
|- | |- | ||
| 1 || Ioctl | | 1 || [[#Ioctl]] | ||
|- | |- | ||
| 2 || Close | | 2 || Close | ||
Line 38: | Line 38: | ||
| 1 || 0x00000008 | | 1 || 0x00000008 | ||
|- | |- | ||
| 2-4 || | | 2-4 || Type 5 descriptor: Device path | ||
|- style="border-top: double" | |- style="border-top: double" | ||
| 0 || "SFCI" | | 0 || "SFCI" | ||
|- | |- | ||
| 1 || | | 1 || 0x00000000 | ||
|} | |||
== Ioctl == | |||
{| class="wikitable" border="1" | |||
|- | |||
! Word || Value | |||
|- | |||
| 0 || 0x11100004 | |||
|- | |||
| 1 || 0x00000C0B | |||
|- | |||
| 2-5 || Type 0x21 descriptor: Input buffer | |||
|- | |||
| 9-6 || Type 0x22 descriptor: Output buffer | |||
|- | |||
|- style="border-top: double" | |||
| 0 || "SFCI" | |||
|- | |||
| 1 || 0x00000001 | |||
|- | |- | ||
| 2 || Always 0. | | 2 || Always 0. | ||
|- | |- | ||
| 3 || | | 3 || Device fd | ||
|- | |||
| 4 || Ioctl Cmd | |||
|} | |} | ||