Difference between revisions of "Filesystem driver"

From DSiBrew
Jump to navigation Jump to search
(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...")
 
(→‎Structs: added next pointer to Filesystem)
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;
 
// ...
 
// ...
} FileSystem;
+
} Filesystem;
  
 
typedef struct {
 
typedef struct {
 
u32 unknown[2];
 
u32 unknown[2];
FileSystem *fs;
+
Filesystem *fs;
 
u32 flags;
 
u32 flags;
 
u32 unknown2;
 
u32 unknown2;

Revision as of 05:35, 2 October 2022

The filesystem driver is a PXI service with a complex protocol.

Structs

typedef struct {
	u32 name; // either a pointer to the name or the name itself if the name is 3 chars
	Filesystem *next;
	// ...
} Filesystem;

typedef struct {
	u32 unknown[2];
	Filesystem *fs;
	u32 flags;
	u32 unknown2;
	u32 state;
	u32 unknown3[13];
} FILE;