Go to the documentation of this file.
18 #include <FreeNOS/User.h>
23 int main(
int argc,
char **argv)
42 ERROR(
"failed to initialize: result = " << (
int) result);
u32 getNextInode()
Get next unused inode.
Directory File functionality.
void registerInterrupt(Device *dev, Size vector)
Register an interrupt vector for the given device.
int run()
Enters an infinite loop, serving incoming requests.
int main(int argc, char **argv)
Program entry point.
Log to the kernel using PrivExec().
void registerDevice(Device *dev, const char *path)
Add a Device.
static u32 inodeNumber
Keeps track of inode number for SerialDevices.
static SerialDevice * create()
Abstract function to create an instance of T.
virtual FileSystem::Result initialize()
Initialize DeviceServer.
FileSystem::Result registerDirectory(Directory *dir, const char *path)
Register a new Directory.
Provides sequential byte stream of incoming (RX) and outgoing (TX) data.
#define ERROR(msg)
Output an error message.
Result
Result code for filesystem Actions.
u32 getIrq() const
Get interrupt vector.