C# Class Mosa.DeviceDriver.PCI.AMD.AMDPCNet

Inheritance: Mosa.DeviceSystem.HardwareDevice, INetworkDevice
Show file Open project: tgiphil/MOSA-Project

Protected Properties

Property Type Description
bdp IReadWriteIOPort
bufferSize ushort
buffers IMemory
initBlock IMemory
ioProm1 IReadWriteIOPort
ioProm4 IReadWriteIOPort
macAddress Mosa.DeviceSystem.MACAddress
nextTXDesc byte
packetBuffer Mosa.DeviceSystem.NetworkDevicePacketBuffer
physicalBufferAddress uint
rap IReadWriteIOPort
rdp IReadWriteIOPort
rxDescriptor IMemory
txDescriptor IMemory

Public Methods

Method Description
AMDPCNet ( ) : Mosa.DeviceSystem

Initializes a new instance of the AMDPCNet class.

AssignPacketBuffer ( NetworkDevicePacketBuffer packetBuffer ) : void

Assigns the packet buffer to the device

OnInterrupt ( ) : bool

Called when an interrupt is received.

SendPacket ( byte data ) : bool

Sends the packet.

Setup ( Mosa.DeviceSystem.HardwareResources hardwareResources ) : bool

Setups this hardware device driver

Start ( ) : DeviceDriverStartStatus

Starts this hardware device.

Protected Methods

Method Description
RetrievePackets ( ) : void

Retrieves the packets.

Method Details

AMDPCNet() public method

Initializes a new instance of the AMDPCNet class.
public AMDPCNet ( ) : Mosa.DeviceSystem
return Mosa.DeviceSystem

AssignPacketBuffer() public method

Assigns the packet buffer to the device
public AssignPacketBuffer ( NetworkDevicePacketBuffer packetBuffer ) : void
packetBuffer Mosa.DeviceSystem.NetworkDevicePacketBuffer The packet buffer.
return void

OnInterrupt() public method

Called when an interrupt is received.
public OnInterrupt ( ) : bool
return bool

RetrievePackets() protected method

Retrieves the packets.
protected RetrievePackets ( ) : void
return void

SendPacket() public method

Sends the packet.
public SendPacket ( byte data ) : bool
data byte The data.
return bool

Setup() public method

Setups this hardware device driver
public Setup ( Mosa.DeviceSystem.HardwareResources hardwareResources ) : bool
hardwareResources Mosa.DeviceSystem.HardwareResources
return bool

Start() public method

Starts this hardware device.
public Start ( ) : DeviceDriverStartStatus
return DeviceDriverStartStatus

Property Details

bdp protected property

protected IReadWriteIOPort bdp
return IReadWriteIOPort

bufferSize protected property

protected ushort bufferSize
return ushort

buffers protected property

protected IMemory buffers
return IMemory

initBlock protected property

protected IMemory initBlock
return IMemory

ioProm1 protected property

protected IReadWriteIOPort ioProm1
return IReadWriteIOPort

ioProm4 protected property

protected IReadWriteIOPort ioProm4
return IReadWriteIOPort

macAddress protected property

protected MACAddress,Mosa.DeviceSystem macAddress
return Mosa.DeviceSystem.MACAddress

nextTXDesc protected property

protected byte nextTXDesc
return byte

packetBuffer protected property

protected NetworkDevicePacketBuffer,Mosa.DeviceSystem packetBuffer
return Mosa.DeviceSystem.NetworkDevicePacketBuffer

physicalBufferAddress protected property

protected uint physicalBufferAddress
return uint

rap protected property

protected IReadWriteIOPort rap
return IReadWriteIOPort

rdp protected property

protected IReadWriteIOPort rdp
return IReadWriteIOPort

rxDescriptor protected property

protected IMemory rxDescriptor
return IMemory

txDescriptor protected property

protected IMemory txDescriptor
return IMemory