Files
ficus/src/kernel/vfs/VFSGlobals.hpp
Stepan Usatiuk 02ec0c6105 pretty up GDT a little, and other stuff
also thanks internet for the boilerplate
2024-03-22 15:40:06 +01:00

25 lines
492 B
C++

//
// Created by Stepan Usatiuk on 24.02.2024.
//
#ifndef OS2_VFSGLOBALS_HPP
#define OS2_VFSGLOBALS_HPP
#include "MountTable.hpp"
#include "Node.hpp"
class RootNode : public NodeDir {
public:
Vector<Node *> children() override;
NodeDir *mkdir(const String &name) override;
NodeFile *mkfile(const String &name) override;
};
namespace VFSGlobals {
extern RootNode root;
extern MountTable mounts;
}; // namespace VFSGlobals
#endif //OS2_VFSGLOBALS_HPP