ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


IOBDBlockStorageDevice

Inherits from:
Declared In:

Overview

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

Discussion

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.



Functions

init
readDiscStructure
splitTrack

init


public

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


public

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


public

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.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2008-12-19