From d270ea851a92e98d3efe30774f31f935d846dcd3 Mon Sep 17 00:00:00 2001 From: Andrew Schultz Date: Fri, 4 Jun 2004 15:12:27 -0400 Subject: 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 --- dev/pciconfigall.cc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'dev/pciconfigall.cc') 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 -- cgit v1.2.3