root.hh (10905:a6ca6831e775) | root.hh (11168:f98eb2da15a4) |
---|---|
1/* 2 * Copyright (c) 2011 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 92 unchanged lines hidden (view full) --- 101 { 102 return dynamic_cast<const Params *>(_params); 103 } 104 105 Root(Params *p); 106 107 /** Schedule the timesync event at loadState() so that curTick is correct 108 */ | 1/* 2 * Copyright (c) 2011 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 92 unchanged lines hidden (view full) --- 101 { 102 return dynamic_cast<const Params *>(_params); 103 } 104 105 Root(Params *p); 106 107 /** Schedule the timesync event at loadState() so that curTick is correct 108 */ |
109 void loadState(CheckpointIn &cp) M5_ATTR_OVERRIDE; | 109 void loadState(CheckpointIn &cp) override; |
110 111 /** Schedule the timesync event at initState() when not unserializing 112 */ 113 void initState(); 114 | 110 111 /** Schedule the timesync event at initState() when not unserializing 112 */ 113 void initState(); 114 |
115 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; 116 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; | 115 void serialize(CheckpointOut &cp) const override; 116 void unserialize(CheckpointIn &cp) override; |
117}; 118 119#endif // __SIM_ROOT_HH__ | 117}; 118 119#endif // __SIM_ROOT_HH__ |