serialize.cc (11077:fae097742b7e) | serialize.cc (11168:f98eb2da15a4) |
---|---|
1/* 2 * Copyright (c) 2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 473 unchanged lines hidden (view full) --- 482/// Container for serializing global variables (not associated with 483/// any serialized object). 484class Globals : public Serializable 485{ 486 public: 487 Globals() 488 : unserializedCurTick(0) {} 489 | 1/* 2 * Copyright (c) 2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 473 unchanged lines hidden (view full) --- 482/// Container for serializing global variables (not associated with 483/// any serialized object). 484class Globals : public Serializable 485{ 486 public: 487 Globals() 488 : unserializedCurTick(0) {} 489 |
490 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; 491 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; | 490 void serialize(CheckpointOut &cp) const override; 491 void unserialize(CheckpointIn &cp) override; |
492 493 Tick unserializedCurTick; 494}; 495 496/// The one and only instance of the Globals class. 497Globals globals; 498 499/// The version tags for this build of the simulator, to be stored in the --- 228 unchanged lines hidden --- | 492 493 Tick unserializedCurTick; 494}; 495 496/// The one and only instance of the Globals class. 497Globals globals; 498 499/// The version tags for this build of the simulator, to be stored in the --- 228 unchanged lines hidden --- |