b7b8ffa7b7
interrupts. dev/sinic.cc: - The prepareRead function sets all the variables in the register file that depend on various state bits that change on the fly. Includes RxDone, RxWait, TxDone, and TxWait - Use the new register information accessor functions to grab validity and size information for the read and write functions - read all registers directly from the register space by offset and size, not by actual name (less code) - The side effect of reading the interrupt status (clearing it) now happens outside the actual chunk of code where the value is loaded. - Add an iprRead function for when we may want speculative access to device registers through an ipr or special instruction. - When RxData or TxData are written, their busy flag is set to indicate that they have an outstanding transaction. - The RxHigh and TxLow interrupts are special, they only interrupt if the rxEmpty or txFull limits were hit - Move reset to the command register - Update more registers on reset, clear rxEmpty and txFull - Data dumps only happen if EthernetData trace flag set - When a DMA completes, kick the other engine if it was waiting - implement all of the new interrupts - serialize the new stuff dev/sinic.hh: - Put all registers with their proper size and alignment into the regs struct so that we can copy multiple at a time. - Provide accessor functions for accessing the registers with different sizes. - Flags to track when the rx fifo hit empty and the tx fifo became full. These flags are used to determine what to do when below the watermarks, and are reset when crossing the watermark. - the txDmaEvent should actually trigger the txDmaDone function - Add an iprRead function for when we may want speculative access to device registers through an ipr or special instruction. - The prepareRead function sets all the variables in the register file that depend on various state bits that change on the fly. - add rx_max_intr and dedicated (for dedicated thread) config params dev/sinicreg.hh: Add some new registers: Command, RxMaxIntr, RxFifoSize, TxFifoSize, rename XxThreshold to XxFifoMark Move Reset to the Command register Add Thread to the Config register New interrupts, better names More info in RxDone and TxDone Easier access to information on each register (size, read, write, name) python/m5/objects/Ethernet.py: Both sinic and nsgige have the dedicated thread Add a parameter to configure the maximum number for receive packets per interrupt --HG-- extra : convert_revision : 407c5a993b6fb17326b4c623ee5d4b25fd69ac80 |
||
---|---|---|
.. | ||
alpha_access.h | ||
alpha_console.cc | ||
alpha_console.hh | ||
baddev.cc | ||
baddev.hh | ||
disk_image.cc | ||
disk_image.hh | ||
etherbus.cc | ||
etherbus.hh | ||
etherdump.cc | ||
etherdump.hh | ||
etherint.cc | ||
etherint.hh | ||
etherlink.cc | ||
etherlink.hh | ||
etherpkt.cc | ||
etherpkt.hh | ||
ethertap.cc | ||
ethertap.hh | ||
ide_atareg.h | ||
ide_ctrl.cc | ||
ide_ctrl.hh | ||
ide_disk.cc | ||
ide_disk.hh | ||
ide_wdcreg.h | ||
io_device.cc | ||
io_device.hh | ||
isa_fake.cc | ||
isa_fake.hh | ||
ns_gige.cc | ||
ns_gige.hh | ||
ns_gige_reg.h | ||
pciconfigall.cc | ||
pciconfigall.hh | ||
pcidev.cc | ||
pcidev.hh | ||
pcireg.h | ||
pitreg.h | ||
pktfifo.cc | ||
pktfifo.hh | ||
platform.cc | ||
platform.hh | ||
rtcreg.h | ||
simconsole.cc | ||
simconsole.hh | ||
simple_disk.cc | ||
simple_disk.hh | ||
sinic.cc | ||
sinic.hh | ||
sinicreg.hh | ||
tsunami.cc | ||
tsunami.hh | ||
tsunami_cchip.cc | ||
tsunami_cchip.hh | ||
tsunami_io.cc | ||
tsunami_io.hh | ||
tsunami_pchip.cc | ||
tsunami_pchip.hh | ||
tsunamireg.h | ||
uart.cc | ||
uart.hh | ||
uart8250.cc | ||
uart8250.hh |