Go to the documentation of this file.
18 #ifndef __LIB_LIBFS_DEVICE_H
19 #define __LIB_LIBFS_DEVICE_H
FileType
All possible filetypes.
virtual FileSystem::Result initialize()
Initialize the device.
Abstract device class interface.
Represents a file present on a FileSystem.
unsigned int u32
Unsigned 32-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
Device(const u32 inode, const FileSystem::FileType type)
Constructor.
virtual FileSystem::Result interrupt(const Size vector)
Called when an interrupt has been triggered for this device.
virtual ~Device()
Destructor.
String m_identifier
Unique identifier for this Device.
Result
Result code for filesystem Actions.
virtual const String & getIdentifier() const
Get unique device identifier.