summaryrefslogtreecommitdiff
path: root/Source/Kernel/VFS/Part.ns.h
blob: 07a45f905301f505f04044b7f21442fc57c8393a (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 <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