IOBDBlockStorageDevice

Inherits from
IODVDBlockStorageDevice
Availability
Available in OS X v10.6 and later.
Declared in
IOBDBlockStorageDevice.h

Overview

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.

Tasks

Miscellaneous

Instance Methods

init

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.

readDiscStructure

virtual IOReturn readDiscStructure( IOMemoryDescriptor *buffer, UInt8 format, UInt32 address, UInt8 layer, UInt8 grantID, UInt8 type ) = 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.

splitTrack

virtual IOReturn splitTrack( UInt32 address) = 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.