IOFWBufferFillIsochPort.cpp [plain text]
#import "IOFWBufferFillIsochPort.h"
#undef super
#define super IOFWIsochPort
OSDefineMetaClassAndAbstractStructors( IOFWBufferFillIsochPort, IOFWIsochPort )
bool
IOFWBufferFillIsochPort :: init(
IOFireWireBus & bus,
IOByteCount expectedBytesPerSecond,
UInt32 interruptMicroseconds,
UInt64 channelMask,
PacketProc packetProc,
OSObject * target )
{
return super::init() ;
}
#if 0
bool
IOFWBufferFillIsochPort :: initWithBufferSize(
IOFireWireBus & bus,
IOByteCount bufferSize,
UInt32 interruptMicroseconds,
UInt64 channels,
PacketProc packetProc,
OSObject * target )
{
if ( ! super::init() )
{
return false ;
}
}
#endif
void
IOFWBufferFillIsochPort :: free()
{
delete[] fBackingStore ;
super::free() ;
}
IOReturn
IOFWBufferFillIsochPort :: getSupported (
IOFWSpeed & maxSpeed,
UInt64 & chanSupported)
{
maxSpeed = kFWSpeedMaximum;
chanSupported = ~(UInt64)0;
return kIOReturnSuccess;
}
unsigned int
IOFWBufferFillIsochPort :: gotIsoch( IOVirtualRange packets[], unsigned int maxPacketCount )
{
packets = NULL ;
return 0 ;
}
unsigned int
IOFWBufferFillIsochPort :: gotIsochAll( IOVirtualRange packets[], unsigned int maxPacketCount )
{
packets = NULL ;
return 0 ;
}
void
IOFWBufferFillIsochPort :: pushIsoch()
{
}
IOReturn
IOFWBufferFillIsochPort :: setIsochResourceFlags( IOFWIsochResourceFlags flags )
{
fIsochResourceFlags = flags ;
return kIOReturnSuccess ;
}
IOFWIsochResourceFlags
IOFWBufferFillIsochPort :: getIsochResourceFlags() const
{
return fIsochResourceFlags ;
}
IOReturn
IOFWBufferFillIsochPort :: setFlags( UInt32 flags )
{
fFlags = flags ;
return kIOReturnSuccess ;
}
UInt32
IOFWBufferFillIsochPort :: getFlags()
{
return fFlags ;
}
IOReturn
IOFWBufferFillIsochPort :: setChannels( UInt64 channelMask )
{
fChannels = channelMask ;
return kIOReturnSuccess ;
}
AbsoluteTime
IOFWBufferFillIsochPort :: getInterruptTime()
{
return AbsoluteTime() ;
}