Go to the documentation of this file.
22 int main(
int argc,
char **argv)
35 ERROR(
"failed to initialize: result = " << (
int) result);
u32 getNextInode()
Get next unused inode.
void registerInterrupt(Device *dev, Size vector)
Register an interrupt vector for the given device.
int run()
Enters an infinite loop, serving incoming requests.
void registerNetworkDevice(NetworkDevice *dev)
Register network device.
int main(int argc, char **argv)
Program entry point.
Network device of the Allwinner Sun8i family System-on-Chips.
Log to the kernel using PrivExec().
#define ERROR(msg)
Output an error message.
Result
Result code for filesystem Actions.
static const Size InterruptNumber
Interrupt number for this device on a sun8i family SoC.
virtual FileSystem::Result initialize()
Initialize the NetworkServer.