IOMediaBSDClient.h [plain text]
#ifndef _IOMEDIABSDCLIENT_H
#define _IOMEDIABSDCLIENT_H
#include <sys/disk.h>
#ifdef KERNEL
#ifdef __cplusplus
#include <IOKit/storage/IOMedia.h>
class AnchorTable;
class MinorTable;
struct MinorSlot;
class IOMediaBSDClient : public IOService
{
OSDeclareDefaultStructors(IOMediaBSDClient)
protected:
struct ExpansionData { };
ExpansionData * _expansionData;
private:
AnchorTable * _anchors;
UInt32 _reserved0064;
UInt32 _reserved0096;
MinorTable * _minors;
UInt32 _reserved0160;
protected:
virtual IOMedia * getWholeMedia( IOMedia * media,
UInt32 * slicePathSize = 0,
char * slicePath = 0 );
virtual bool createNodes(IOMedia * media);
virtual void free();
public:
virtual IOMedia * getProvider() const;
virtual bool init(OSDictionary * properties = 0);
virtual bool start(IOService * provider);
virtual bool terminate(IOOptionBits options);
virtual AnchorTable * getAnchors();
virtual MinorTable * getMinors();
virtual MinorSlot * getMinor(UInt32 minorID);
virtual int ioctl(dev_t, u_long cmd, caddr_t data, int, struct proc *);
OSMetaClassDeclareReservedUsed(IOMediaBSDClient, 0);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 1);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 2);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 3);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 4);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 5);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 6);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 7);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 8);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 9);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 10);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 11);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 12);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 13);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 14);
OSMetaClassDeclareReservedUnused(IOMediaBSDClient, 15);
};
#endif
#endif
#endif