Change order of serialization
authorNathan Binkert <binkertn@umich.edu>
Sat, 21 Feb 2004 15:46:31 +0000 (10:46 -0500)
committerNathan Binkert <binkertn@umich.edu>
Sat, 21 Feb 2004 15:46:31 +0000 (10:46 -0500)
commite067bc751bd13d73dfb0abe31f296140e3e29de9
tree13a0ed04219e9f21e0a1a231da43bc9f33c238d8
parent610081079cd02a620794fa1ac693822c191223ec
Change order of serialization

sim/sim_object.cc:
    serialize objects in the reverse order of their creation.
    This causes a SimObject that is dependent on another
    to be serialized first.  For example, the ethernet device
    writes back some data to physical memory while serializing,
    so this will cause the physical memory to be serialized
    after that, preserving the data written back.

--HG--
extra : convert_revision : f9a37b63ce777df1cfecefa80f94f8fc69e42448
sim/sim_object.cc