summaryrefslogtreecommitdiff
path: root/Source/Kernel/VFS/Part.ns.h
blob: 40a0fb2f8c9544b89db8ed0d7defa377a8afd9eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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