Difference between revisions of "/dev/wfsi"

From WiiBrew
Jump to: navigation, search
Line 11: Line 11:
 
|-
 
|-
 
| 2 || ? || ? || ?
 
| 2 || ? || ? || ?
| ?
+
| Seems to initialise ES and WFSSRV.
 
|-
 
|-
 
| 3 || ? || ? || ?
 
| 3 || ? || ? || ?

Revision as of 17:54, 28 December 2016

Used to install content to WFS devices. This device is present only in IOS59.

Only IOS_OPEN, IOS_CLOSE and IOS_IOCTL are valid commands. The other commands immediately return IPC_EINVAL (-4).

Ioctl Name Input Output Notes
2 ? ? ? Seems to initialise ES and WFSSRV.
3 ? ? ? ?
4 ? ? ? ?

Uses syscall 0x3f (invalidates dcache).

5 WFSISrvImportContentEnd ? ? ?
6 ? ? ? ?
23 ? ? ? ?
24 ? ? ? ?
25 ? ? ? ?
26 ? ? ? ?
27 ? ? ? ?
47 ? ? ? ?
129 ? ? ? ?
132 ? ? ? ?
133 ? ? ? ?
134 ? ? ? ?
135 ? ? ? ?

Uses syscall 0x3f (invalidates dcache).

136 ? ? ? ?
137 ? ? ? ?
140 WFSI_CloseLib ? ? ?
142 ? ? ? ?
145 ? ? ? ?
146 ? ? ? ?
147 ? ? ? ?
148 ? ? ? ?
149 ? ? ? ?
151 ? ? ? ?
152 ? ? ? ?
153 ? ? ? ?

Errors

-0x2701: WFSI_EINVAL (used for invalid ioctl requests)