diff options
author | Andrew Schultz <alschult@umich.edu> | 2004-03-22 16:59:43 -0500 |
---|---|---|
committer | Andrew Schultz <alschult@umich.edu> | 2004-03-22 16:59:43 -0500 |
commit | e8f7aca8cf92ccb4a1d6c46d7ce13b7e985357cc (patch) | |
tree | 05039b321c1f23114fd83335f80df65df39ea883 /dev/pcidev.hh | |
parent | 3bc851b7dbe529dc1e45c9ab9082b941fad9465c (diff) | |
parent | c8640365c2fef06fe30981cb14df986780e8c7ef (diff) | |
download | gem5-e8f7aca8cf92ccb4a1d6c46d7ce13b7e985357cc.tar.xz |
Automerge
--HG--
extra : convert_revision : d79abea2623f31a27735640363dfbf655c226b62
Diffstat (limited to 'dev/pcidev.hh')
-rw-r--r-- | dev/pcidev.hh | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/dev/pcidev.hh b/dev/pcidev.hh index 1a45f5c7b..f8192db3c 100644 --- a/dev/pcidev.hh +++ b/dev/pcidev.hh @@ -27,15 +27,14 @@ */ /* @file - * PCI configspace devices + * Interface for devices using PCI configuration */ #ifndef __PCI_DEV_HH__ #define __PCI_DEV_HH__ #include "dev/pcireg.h" -#include "sim/sim_object.hh" -#include "mem/functional_mem/functional_memory.hh" +#include "dev/io_device.hh" class PciConfigAll; class MemoryController; @@ -63,15 +62,15 @@ class PciConfigData : public SimObject * register with it. This object registers with the PCIConfig space * object. */ -class PciDev : public FunctionalMemory +class PciDev : public DmaDevice { protected: - MemoryController *MMU; + MemoryController *mmu; PciConfigAll *configSpace; PciConfigData *configData; - uint32_t bus; - uint32_t device; - uint32_t function; + uint32_t busNum; + uint32_t deviceNum; + uint32_t functionNum; PCIConfig config; uint32_t BARSize[6]; |