diff options
author | Andrew Schultz <alschult@umich.edu> | 2004-06-04 15:12:27 -0400 |
---|---|---|
committer | Andrew Schultz <alschult@umich.edu> | 2004-06-04 15:12:27 -0400 |
commit | d270ea851a92e98d3efe30774f31f935d846dcd3 (patch) | |
tree | d98e78985475699374e471dfbd689bb79587732d /dev/pciconfigall.cc | |
parent | 0408051f201cb5b19c4f8d5ec1d6e96de4a9aa3f (diff) | |
download | gem5-d270ea851a92e98d3efe30774f31f935d846dcd3.tar.xz |
Changes to support serialization with PCI devices
dev/ide_ctrl.cc:
Properly serialize/unserialize the PciDev base class to get it to remap
the MMU
dev/ns_gige.cc:
dev/ns_gige.hh:
Remove the "addr" paramter from the constructor and change the device
to use PCI based MMU mappings only
dev/pciconfigall.cc:
Change comments
dev/pcidev.cc:
Properly setup the MMU after a serialize
--HG--
extra : convert_revision : 4b2e7ba58e3c24fac1ff6f80635e704d6ecc0eff
Diffstat (limited to 'dev/pciconfigall.cc')
-rw-r--r-- | dev/pciconfigall.cc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/dev/pciconfigall.cc b/dev/pciconfigall.cc index 226fd2749..0fa6a12ed 100644 --- a/dev/pciconfigall.cc +++ b/dev/pciconfigall.cc @@ -148,13 +148,21 @@ PciConfigAll::write(MemReqPtr &req, const uint8_t *data) void PciConfigAll::serialize(std::ostream &os) { - // code should be written + /* + * There is no state associated with this object that requires + * serialization. The only real state are the device pointers + * which are all setup by the constructor of the PciDev class + */ } void PciConfigAll::unserialize(Checkpoint *cp, const std::string §ion) { - //code should be written + /* + * There is no state associated with this object that requires + * serialization. The only real state are the device pointers + * which are all setup by the constructor of the PciDev class + */ } #ifndef DOXYGEN_SHOULD_SKIP_THIS |