|
wavelength 1.0.0
|
The eznetcnf module reads network configuration files for the EE through a SIF RPC server. More...
#include <eznetcnf.h>

Public Types | |
| enum | Function { kFunctionGetCount = 0 , kFunctionGetList = 1 , kFunctionLoadEntry = 2 } |
| RPC function numbers. More... | |
Static Public Member Functions | |
| static int | ModuleStart () |
| Start the module. | |
| static int | ModuleStop (int argc, char **argv) |
| Unload the module. | |
| static unsigned int | SendToEe (void *data, void *destination, int size, bool noWait) |
| Copy a buffer to EE memory by SIF DMA. | |
Static Public Attributes | |
| static constexpr unsigned int | kRpcServerId = 0x75499128 |
| SIF RPC server identifier of the module. | |
| static int | sThread |
| Thread that runs the RPC server. | |
| static int | sInterruptState |
| Interrupt state that CpuSuspendIntr() saves around memory allocation and DMA. | |
| static NetcnfifEnv | sEnv |
| Environment each load fills. | |
The eznetcnf module reads network configuration files for the EE through a SIF RPC server.
It counts and lists the entries of a file and sends loaded entries to the EE as NetcnfifData.
The module was built without RTTI. The name is inferred from the module's name.
| enum EzNetCnf::Function |
RPC function numbers.
| Enumerator | |
|---|---|
| kFunctionGetCount | Count the combinations of NetCnfRequest::mFileName. |
| kFunctionGetList | |
| kFunctionLoadEntry | |
|
static |
Start the module.
Create and start the RPC server thread.
|
static |
Unload the module.
Only an other argument stops the RPC server thread.
| argc | Argument count. |
| argv | Arguments. |
|
static |
Copy a buffer to EE memory by SIF DMA.
A size that is not a multiple of 16 bytes is padded, with a warning.
| data | Source in IOP memory. |
| destination | Destination in EE memory. |
| size | Byte count. |
| noWait | False to wait for the transfer to complete. |
|
staticconstexpr |
SIF RPC server identifier of the module.
|
static |
Thread that runs the RPC server.
|
static |
Interrupt state that CpuSuspendIntr() saves around memory allocation and DMA.
|
static |
Environment each load fills.