/* This file is part of Fennix Kernel. Fennix Kernel is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Fennix Kernel is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Fennix Kernel. If not, see . */ #ifndef __FENNIX_KERNEL_FILESYSTEM_DEV_H__ #define __FENNIX_KERNEL_FILESYSTEM_DEV_H__ #include #include namespace VirtualFileSystem { /* Manage /dev */ class Device { public: Node *AddFileSystem(FileSystemOperations *Operator, uint64_t Mode, const char *Name, int Flags); Device(); ~Device(); }; /* Manage /mnt */ class Mount { public: Node *MountFileSystem(FileSystemOperations *Operator, uint64_t Mode, const char *Name); void DetectAndMountFS(void *drive); Mount(); ~Mount(); }; /* Manage /prc */ class Process { public: Process(); ~Process(); }; /* Manage /drv */ class Driver { public: Node *AddDriver(struct FileSystemOperations *Operator, uint64_t Mode, const char *Name, int Flags); Driver(); ~Driver(); }; /* Manage /net */ class Network { public: Node *AddNetworkCard(struct FileSystemOperations *Operator, uint64_t Mode, const char *Name, int Flags); Network(); ~Network(); }; /* Manage /dev/serialX */ class Serial { public: Serial(); ~Serial(); }; /* Manage /dev/random */ class Random { public: Random(); ~Random(); }; /* Manage /dev/null */ class Null { public: Null(); ~Null(); }; /* Manage /dev/zero */ class Zero { public: Zero(); ~Zero(); }; /* Manage /dev/fbX */ class FB { public: void SetFrameBufferData(uintptr_t Address, size_t Size, uint32_t Width, uint32_t Height, uint32_t PixelsPerScanLine); FB(); ~FB(); }; } #endif // !__FENNIX_KERNEL_FILESYSTEM_DEV_H__