blob: 992f6f31875bdf54e5ed54201585d3ae95cb97c2 (
plain) (
tree)
|
|
#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);
BlockDevice* dev(String _class, u32int idx);
Partition* part(BlockDevice* dev, u32int idx);
String partIdentifier(Partition* p); //Simply to help recognize the partition
}
#endif
|