Filesystem driver: Difference between revisions

Hallowizer (talk | contribs)
Created page with "The '''filesystem driver''' is a PXI service with a complex protocol. == Structs == <pre> typedef struct { u32 name; // either a pointer to the name or the name itself i..."
 
Hallowizer (talk | contribs)
Structs: more FS fields and fixed a pointer typo
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
typedef struct {
typedef struct {
u32 name; // either a pointer to the name or the name itself if the name is 3 chars
u32 name; // either a pointer to the name or the name itself if the name is 3 chars
Filesystem *next;
FILE *partialFileList;
OSThreadQueue unknownThreadQueue;
u32 flags;
// ...
// ...
} FileSystem;
} Filesystem;


typedef struct {
typedef struct {
u32 unknown[2];
FILE *next;
FileSystem *fs;
u32 unknown;
Filesystem *fs;
u32 flags;
u32 flags;
u32 unknown2;
u32 unknown2;
u32 state;
u32 state;
u32 unknown3[13];
OSThreadQueue unknownThreadQueue;
u32 unknown3[12];
} FILE;
} FILE;
</pre>
</pre>