Mac Developer Library

Developer

IOBDBlockStorageDevice Class Reference

Options
Deployment Target:

On This Page
Language:

IOBDBlockStorageDevice

Inheritance


  • IOBDBlockStorageDevice

Conforms To


Not Applicable

Import Statement


Not Applicable

Objective-C

@import Kernel;

Availability


Available in OS X v10.6 and later.

The IOBDBlockStorageDevice class is a generic BD block storage device abstraction.

This class is the protocol for generic BD functionality, independent of the physical connection protocol (e.g. SCSI, ATA, USB).

The APIs are the union of CD APIs, DVD APIs, and all necessary new low-level BD APIs.

A subclass implements relay methods that translate our requests into calls to a protocol- and device-specific provider.

  • Declaration

    C++

    virtual bool init( OSDictionary *properties);

    Parameters

    properties

    Substitute property table for this object (optional).

    Return Value

    Returns true on success, false otherwise.

    Discussion

    Initialize this object's minimal state.

  • Declaration

    C++

    virtual IOReturn readDiscStructure( IOMemoryDescriptor *buffer, UInt8format, UInt32address, UInt8layer, UInt8grantID, UInt8type ) = 0;

    Parameters

    buffer

    Buffer for the data transfer. The size of the buffer implies the size of the data transfer.

    format

    As documented by MMC.

    address

    As documented by MMC.

    layer

    As documented by MMC.

    grantID

    As documented by MMC.

    type

    As documented by MMC.

    Return Value

    Returns the status of the data transfer.

    Discussion

    Issue an MMC READ DISC STRUCTURE command.

  • Declaration

    C++

    virtual IOReturn splitTrack( UInt32address) = 0;

    Parameters

    address

    As documented by MMC.

    Return Value

    Returns the status of the operation.

    Discussion

    Issue an MMC RESERVE TRACK command with the ARSV bit.