58 static unsigned int SendToEe(
void *data,
void *destination,
int size,
bool noWait);
76 static void RpcServerThread();
84 static void RemoveRpcServer();
93 static int Initialize();
102 static int Finalize();
114 static void *RpcHandler(
unsigned int function,
void *buffer,
int size);
117 static sceSifQueueData sQueue;
120 static sceSifServeData sServer;
135extern "C" int start(
int argc,
char **argv);
The eznetcnf module reads network configuration files for the EE through a SIF RPC server.
Definition eznetcnf.h:14
static int ModuleStart()
Start the module.
static int sThread
Thread that runs the RPC server.
Definition eznetcnf.h:61
static unsigned int SendToEe(void *data, void *destination, int size, bool noWait)
Copy a buffer to EE memory by SIF DMA.
static int sInterruptState
Interrupt state that CpuSuspendIntr() saves around memory allocation and DMA.
Definition eznetcnf.h:64
static int ModuleStop(int argc, char **argv)
Unload the module.
static constexpr unsigned int kRpcServerId
SIF RPC server identifier of the module.
Definition eznetcnf.h:17
Function
RPC function numbers.
Definition eznetcnf.h:20
@ kFunctionGetList
Definition eznetcnf.h:22
@ kFunctionLoadEntry
Definition eznetcnf.h:23
@ kFunctionGetCount
Definition eznetcnf.h:21
static NetcnfifEnv sEnv
Environment each load fills.
Definition eznetcnf.h:67
Argument buffer of an eznetcnf RPC request.
Definition netcnfrequest.h:13
A netcnf environment that loads into memory of the module.
Definition netcnfifenv.h:10
int start(int argc, char **argv)
Module entry.