summaryrefslogtreecommitdiff
path: root/Source/Kernel/VFS/Part.ns.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/VFS/Part.ns.h')
-rw-r--r--Source/Kernel/VFS/Part.ns.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/Kernel/VFS/Part.ns.h b/Source/Kernel/VFS/Part.ns.h
new file mode 100644
index 0000000..07a45f9
--- /dev/null
+++ b/Source/Kernel/VFS/Part.ns.h
@@ -0,0 +1,18 @@
+#ifndef DEF_PART_NS_H
+#define DEF_PART_NS_H
+
+#include <Devices/BlockDevice.proto.h>
+#include <Library/Vector.class.h>
+#include <VFS/Partition.class.h>
+
+namespace Part {
+ extern Vector<BlockDevice*> devices;
+ extern Vector<Partition*> partitions;
+
+ void registerDevice(BlockDevice* dev);
+ void unregisterDevice(BlockDevice* dev);
+
+ u32int getDeviceID(BlockDevice* dev);
+}
+
+#endif