summaryrefslogblamecommitdiff
path: root/Source/Kernel/VFS/Part.ns.h
blob: 40a0fb2f8c9544b89db8ed0d7defa377a8afd9eb (plain) (tree)
1
2
3
4
5



                                      
                         












                                                
#ifndef DEF_PART_NS_H
#define DEF_PART_NS_H

#include <Devices/BlockDevice.proto.h>
#include <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