forked from Bananymous/banan-os
Kernel: DeviceManager is now a 'FileSystem' so it can expose devices
Shell reads keyboard through /dev/input :)
This commit is contained in:
@@ -35,6 +35,8 @@ namespace Kernel
|
||||
|
||||
enum class Type
|
||||
{
|
||||
DeviceManager,
|
||||
Device,
|
||||
Ext2,
|
||||
};
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace Kernel
|
||||
virtual BAN::RefPtr<Inode> root_inode() override { return m_root_inode; }
|
||||
|
||||
BAN::ErrorOr<void> mount_test();
|
||||
BAN::ErrorOr<void> mount(FileSystem*, BAN::StringView);
|
||||
|
||||
struct File
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user