18#ifndef __LIB_LIBFS_DEVICESERVER_H
19#define __LIB_LIBFS_DEVICESERVER_H
static const Size MaximumInterrupts
Maximum number of interrupts that can be registered.
virtual FileSystem::Result initialize()
Initialize DeviceServer.
static const Size MaximumDevices
Maximum number of Devices that can be registered.
void registerDevice(Device *dev, const char *path)
Add a Device.
void registerInterrupt(Device *dev, Size vector)
Register an interrupt vector for the given device.
Index< List< Device * >, MaximumInterrupts > m_interrupts
Registers Devices using interrupts.
virtual ~DeviceServer()
Destructor.
Index< Device, MaximumDevices > m_devices
Contains all Devices served by this DeviceServer.
Abstract device class interface.
Abstract filesystem class.
Index is a N-sized array of pointers to items of type T.
C void interruptHandler()
Interrupt Service Router (ISR) handler.
unsigned int Size
Any sane size indicator cannot go negative.
Result
Result code for filesystem Actions.