gem5/dev
Nathan Binkert b031888038 Use parameter structs for initialization so it's easier
to add new devices.  Abstract the Platform more so that
it is unnecessary to know know platform specifics for
interrupting or translating PCI DMA addresses.

dev/ide_ctrl.cc:
    convert to parameter struct for initialization
    use the interrupt functions in the PciDev base class
    convert from tsunami to using platform
    We don't need an interrupt controller here.
dev/ide_ctrl.hh:
    don't use Tsunami, use Platform
    make the IdeDisk a friend so that it can access my plaform
    convert to parameter struct for construction
dev/ide_disk.cc:
    don't use tsunami references, but platform references
dev/ns_gige.cc:
    Convert to parameter struct for initialzation. Use code in
    base class for interrupts so we don't need to know anything
    about the platform. Don't need an IntrControl *.
dev/ns_gige.hh:
    We don't need a Tsunami * anymore
    convert to a parameter struct for construction
dev/pcidev.cc:
    deal with new parameter struct
dev/pcidev.hh:
    - Move all of the configuration parameters into a param struct
    that we can pass into the constructor.
    - Add a Platform * for accessing new generic interrupt post/clear
    and dma address translation fuctions
    - Create functions for posting/clearing interrupts and translating
    dma addresses
dev/platform.cc:
    have default functions that panic on pci calls
dev/platform.hh:
    don't make the pci stuff pure virtual, but rather provide
    default implementations that panic.  Also, add dma address
    translation.
dev/tsunami.cc:
    this-> isn't necessary here.
    add pci address translation
dev/tsunami.hh:
    implement the pciToDma address translation

--HG--
extra : convert_revision : 7db27a2fa1f1bd84704921ec7ca0280b5653c43e
2004-11-13 15:45:22 -05:00
..
alpha_access.h - Whack unused code 2004-02-09 10:49:48 -05:00
alpha_console.cc Macros are nasty, so let's get rid of them. Convert all 2004-11-13 14:01:38 -05:00
alpha_console.hh allow the use of old console code and update elf_object not to rely on EM_ALPHA value. 2004-06-27 14:33:55 -04:00
baddev.cc Clean up the Range class and associated usages. The code was 2004-10-22 01:34:40 -04:00
baddev.hh Fixes for detailed boot, made cttz and ctlz instructions more compact, 2004-06-10 13:30:58 -04:00
disk_image.cc store the checkpoint to the proper directory 2004-07-08 15:59:46 -04:00
disk_image.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
etherbus.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
etherbus.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
etherdump.cc Clean up/standardize handling of various output files. 2004-10-19 20:00:20 -04:00
etherdump.hh Clean up/standardize handling of various output files. 2004-10-19 20:00:20 -04:00
etherint.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
etherint.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
etherlink.cc Clean up network header stuff and make it more generic. Use 2004-09-20 10:43:53 -04:00
etherlink.hh notify the transmitter when the packet has finished transmitting. 2004-07-23 00:05:29 -04:00
etherpkt.cc a bit more cleaning of the network header wrappers. 2004-09-21 01:41:55 -04:00
etherpkt.hh flesh out the TCP/IP/Ethernet support 2004-10-23 16:18:44 -04:00
ethertap.cc Clean up network header stuff and make it more generic. Use 2004-09-20 10:43:53 -04:00
ethertap.hh Clean up network header stuff and make it more generic. Use 2004-09-20 10:43:53 -04:00
ide_ctrl.cc Use parameter structs for initialization so it's easier 2004-11-13 15:45:22 -05:00
ide_ctrl.hh Use parameter structs for initialization so it's easier 2004-11-13 15:45:22 -05:00
ide_disk.cc Use parameter structs for initialization so it's easier 2004-11-13 15:45:22 -05:00
ide_disk.hh Fix to properly shadow the DEV bit in the Drive/Head register so other 2004-06-23 15:37:05 -04:00
io_device.cc make the cache access latency a parameter that is based on bus 2004-07-12 22:58:22 -04:00
io_device.hh make the cache access latency a parameter that is based on bus 2004-07-12 22:58:22 -04:00
ns_gige.cc Use parameter structs for initialization so it's easier 2004-11-13 15:45:22 -05:00
ns_gige.hh Use parameter structs for initialization so it's easier 2004-11-13 15:45:22 -05:00
ns_gige_reg.h cleanup interrupt code for gigabit device 2004-08-11 10:14:26 -04:00
pciconfigall.cc Macros are nasty, so let's get rid of them. Convert all 2004-11-13 14:01:38 -05:00
pciconfigall.hh make the cache access latency a parameter that is based on bus 2004-07-12 22:58:22 -04:00
pcidev.cc Use parameter structs for initialization so it's easier 2004-11-13 15:45:22 -05:00
pcidev.hh Use parameter structs for initialization so it's easier 2004-11-13 15:45:22 -05:00
pcireg.h minor mods for mimicking NS83820 functionality 2004-06-12 14:24:20 -04:00
platform.cc Use parameter structs for initialization so it's easier 2004-11-13 15:45:22 -05:00
platform.hh Use parameter structs for initialization so it's easier 2004-11-13 15:45:22 -05:00
simconsole.cc sort #includes 2004-11-13 14:46:02 -05:00
simconsole.hh Clean up/standardize handling of various output files. 2004-10-19 20:00:20 -04:00
simple_disk.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
simple_disk.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
tsunami.cc Use parameter structs for initialization so it's easier 2004-11-13 15:45:22 -05:00
tsunami.hh Use parameter structs for initialization so it's easier 2004-11-13 15:45:22 -05:00
tsunami_cchip.cc Macros are nasty, so let's get rid of them. Convert all 2004-11-13 14:01:38 -05:00
tsunami_cchip.hh make the cache access latency a parameter that is based on bus 2004-07-12 22:58:22 -04:00
tsunami_io.cc Macros are nasty, so let's get rid of them. Convert all 2004-11-13 14:01:38 -05:00
tsunami_io.hh make the cache access latency a parameter that is based on bus 2004-07-12 22:58:22 -04:00
tsunami_pchip.cc Macros are nasty, so let's get rid of them. Convert all 2004-11-13 14:01:38 -05:00
tsunami_pchip.hh make the cache access latency a parameter that is based on bus 2004-07-12 22:58:22 -04:00
tsunamireg.h rewrote uart and renamed console.cc to simconsole to reduce confusion 2004-06-26 21:26:28 -04:00
uart.cc Macros are nasty, so let's get rid of them. Convert all 2004-11-13 14:01:38 -05:00
uart.hh std:: 2004-08-11 09:05:13 -04:00