gem5/dev
Nathan Binkert b7b8ffa7b7 Major changes to sinic device model. Rearrage read/write, better
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
2005-10-21 20:28:21 -04:00
..
alpha_access.h Don't hard code the location of m5AlphaAccess. Instead, move the 2005-06-28 12:42:15 -04:00
alpha_console.cc Lots of fixes to serialization and naming of various device 2005-08-23 11:45:52 -04:00
alpha_console.hh Allow CPUs to specify their own CPU ids. 2005-06-29 01:20:41 -04:00
baddev.cc Many files: 2005-06-05 05:16:00 -04:00
baddev.hh Many files: 2005-06-05 05:16:00 -04:00
disk_image.cc Changes for getting FreeBSD to run. 2005-08-15 16:59:58 -04:00
disk_image.hh Many files: 2005-06-05 05:16:00 -04:00
etherbus.cc Many files: 2005-06-05 05:16:00 -04:00
etherbus.hh Many files: 2005-06-05 05:16:00 -04:00
etherdump.cc Fix the EtherDump parameters 2005-09-17 10:47:16 -04:00
etherdump.hh Many files: 2005-06-05 05:16:00 -04:00
etherint.cc Many files: 2005-06-05 05:16:00 -04:00
etherint.hh Many files: 2005-06-05 05:16:00 -04:00
etherlink.cc Many files: 2005-06-05 05:16:00 -04:00
etherlink.hh Many files: 2005-06-05 05:16:00 -04:00
etherpkt.cc Many files: 2005-06-05 05:16:00 -04:00
etherpkt.hh Many files: 2005-06-05 05:16:00 -04:00
ethertap.cc Lots of fixes to serialization and naming of various device 2005-08-23 11:45:52 -04:00
ethertap.hh fixes for gcc 4.0 2005-09-12 03:01:43 -04:00
ide_atareg.h Fixes for cygwin compile. 2005-06-30 00:42:27 -04:00
ide_ctrl.cc only set an approriately sized piece of data. so break where appropriate 2005-09-12 22:53:57 -04:00
ide_ctrl.hh Changes for getting FreeBSD to run. 2005-08-15 16:59:58 -04:00
ide_disk.cc Fix IDE disk UDMA mode support mask to actually reflect support for 2005-09-24 15:22:28 -04:00
ide_disk.hh Changes for getting FreeBSD to run. 2005-08-15 16:59:58 -04:00
ide_wdcreg.h Fix doxgyen comments 2005-06-04 23:56:53 -04:00
io_device.cc Many files: 2005-06-05 05:16:00 -04:00
io_device.hh Many files: 2005-06-05 05:16:00 -04:00
isa_fake.cc Lots of fixes to serialization and naming of various device 2005-08-23 11:45:52 -04:00
isa_fake.hh A few minor fixes to get things to build on Cygwin. 2005-08-19 17:10:17 -04:00
ns_gige.cc better naming for pio interfaces 2005-10-21 19:35:49 -04:00
ns_gige.hh use the dedicated flag, no more exposing the m5reg directly 2005-10-18 21:01:05 -04:00
ns_gige_reg.h use the dedicated flag, no more exposing the m5reg directly 2005-10-18 21:01:05 -04:00
pciconfigall.cc Lots of fixes to serialization and naming of various device 2005-08-23 11:45:52 -04:00
pciconfigall.hh fixes for gcc 4.0 2005-09-12 03:01:43 -04:00
pcidev.cc Lots of fixes to serialization and naming of various device 2005-08-23 11:45:52 -04:00
pcidev.hh Merge zed.eecs.umich.edu:/.automount/fox/y/mserrano/m5_dir/m5 2005-08-15 17:17:17 -04:00
pcireg.h Changes for getting FreeBSD to run. 2005-08-15 16:59:58 -04:00
pitreg.h Changes for getting FreeBSD to run. 2005-08-15 16:59:58 -04:00
pktfifo.cc Many files: 2005-06-05 05:16:00 -04:00
pktfifo.hh Many files: 2005-06-05 05:16:00 -04:00
platform.cc Many files: 2005-06-05 05:16:00 -04:00
platform.hh Many files: 2005-06-05 05:16:00 -04:00
rtcreg.h Changes for getting FreeBSD to run. 2005-08-15 16:59:58 -04:00
simconsole.cc Many files: 2005-06-05 05:16:00 -04:00
simconsole.hh Many files: 2005-06-05 05:16:00 -04:00
simple_disk.cc Many files: 2005-06-05 05:16:00 -04:00
simple_disk.hh Many files: 2005-06-05 05:16:00 -04:00
sinic.cc Major changes to sinic device model. Rearrage read/write, better 2005-10-21 20:28:21 -04:00
sinic.hh Major changes to sinic device model. Rearrage read/write, better 2005-10-21 20:28:21 -04:00
sinicreg.hh Major changes to sinic device model. Rearrage read/write, better 2005-10-21 20:28:21 -04:00
tsunami.cc Fix minor doxygen issues. 2005-06-05 08:08:29 -04:00
tsunami.hh Fix minor doxygen issues. 2005-06-05 08:08:29 -04:00
tsunami_cchip.cc Lots of fixes to serialization and naming of various device 2005-08-23 11:45:52 -04:00
tsunami_cchip.hh fixes for gcc 4.0 2005-09-12 03:01:43 -04:00
tsunami_io.cc Lots of fixes to serialization and naming of various device 2005-08-23 11:45:52 -04:00
tsunami_io.hh fixes for gcc 4.0 2005-09-12 03:01:43 -04:00
tsunami_pchip.cc Lots of fixes to serialization and naming of various device 2005-08-23 11:45:52 -04:00
tsunami_pchip.hh fixes for gcc 4.0 2005-09-12 03:01:43 -04:00
tsunamireg.h Merge zed.eecs.umich.edu:/.automount/fox/y/mserrano/m5_dir/m5 2005-08-15 17:17:17 -04:00
uart.cc Many files: 2005-06-05 05:16:00 -04:00
uart.hh Many files: 2005-06-05 05:16:00 -04:00
uart8250.cc Uart fix. 2005-08-16 15:44:57 -04:00
uart8250.hh Changes for getting FreeBSD to run. 2005-08-15 16:59:58 -04:00