Line 44: |
Line 44: |
| | | |
| == Open == | | == Open == |
− | {| class="wikitable" border="1"
| + | Takes a type-0x5 input buffer for the device-path. Returns the output 32bit fd and the u32 error field. |
− | |-
| |
− | ! Word || Value
| |
− | |-
| |
− | | 0 || 0x00100004
| |
− | |-
| |
− | | 1 || 0x00000008
| |
− | |-
| |
− | | 2-4 || Type 5 descriptor: Device path
| |
− | |- style="border-top: double"
| |
− | | 0-1 || "SFCI"
| |
− | |-
| |
− | | 2-3 || Cmd id (0)
| |
− | |}
| |
| | | |
| == Ioctl == | | == Ioctl == |
− | {| class="wikitable" border="1"
| + | Takes a 32bit fd, an u32 ioctl cmd, a type-0x21 input buffer, and a type-0x22 output buffer. Returns the output u32 error field. |
− | |-
| |
− | ! Word || Value
| |
− | |-
| |
− | | 0 || 0x11100004
| |
− | |-
| |
− | | 1 || 0x00000C0B
| |
− | |-
| |
− | | ? || Type 0x21 descriptor: Input buffer
| |
− | |-
| |
− | | ? || Type 0x22 descriptor: Output buffer
| |
− | |- style="border-top: double"
| |
− | | 0-1 || "SFCI"
| |
− | |-
| |
− | | 2-3 || Cmd id (1)
| |
− | |-
| |
− | | 4 || Device fd
| |
− | |-
| |
− | | 5 || Ioctl Cmd
| |
− | |}
| |
| | | |
| == Close == | | == Close == |
− | {| class="wikitable" border="1"
| + | Takes a 32bit fd. Returns the output u32 error field. |
− | |-
| |
− | ! Word || Value
| |
− | |-
| |
− | | 0 || 0x00000004
| |
− | |-
| |
− | | 1 || 0x00000009
| |
− | |- style="border-top: double"
| |
− | | 0-1 || "SFCI"
| |
− | |-
| |
− | | 2-3 || Cmd id (2)
| |
− | |-
| |
− | | 4 || Device fd
| |
− | |}
| |
| | | |
| == Initialize == | | == Initialize == |