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

Inheritance: Mosa.DeviceSystem.HardwareDevice, INetworkDevice
Exibir arquivo 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_oe property

protected IReadWriteIOPort bdp
return IReadWriteIOPort

bufferSize protected_oe property

protected ushort bufferSize
return ushort

buffers protected_oe property

protected IMemory buffers
return IMemory

initBlock protected_oe property

protected IMemory initBlock
return IMemory

ioProm1 protected_oe property

protected IReadWriteIOPort ioProm1
return IReadWriteIOPort

ioProm4 protected_oe property

protected IReadWriteIOPort ioProm4
return IReadWriteIOPort

macAddress protected_oe property

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

nextTXDesc protected_oe property

protected byte nextTXDesc
return byte

packetBuffer protected_oe property

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

physicalBufferAddress protected_oe property

protected uint physicalBufferAddress
return uint

rap protected_oe property

protected IReadWriteIOPort rap
return IReadWriteIOPort

rdp protected_oe property

protected IReadWriteIOPort rdp
return IReadWriteIOPort

rxDescriptor protected_oe property

protected IMemory rxDescriptor
return IMemory

txDescriptor protected_oe property

protected IMemory txDescriptor
return IMemory