Deleted Added
sdiff udiff text old ( 9983:2cce74fe359e ) new ( 10905:a6ca6831e775 )
full compact
1/*
2 * Copyright (c) 2013 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

--- 103 unchanged lines hidden (view full) ---

112
113const char *
114LocalSimLoopExitEvent::description() const
115{
116 return "simulation loop exit";
117}
118
119void
120LocalSimLoopExitEvent::serialize(ostream &os)
121{
122 paramOut(os, "type", string("SimLoopExitEvent"));
123 Event::serialize(os);
124
125 SERIALIZE_SCALAR(cause);
126 SERIALIZE_SCALAR(code);
127 SERIALIZE_SCALAR(repeat);
128}
129
130void
131LocalSimLoopExitEvent::unserialize(Checkpoint *cp, const string &section)
132{
133 Event::unserialize(cp, section);
134
135 UNSERIALIZE_SCALAR(cause);
136 UNSERIALIZE_SCALAR(code);
137 UNSERIALIZE_SCALAR(repeat);
138}
139
140void
141LocalSimLoopExitEvent::unserialize(Checkpoint *cp, const string &section,
142 EventQueue *eventq)
143{
144 Event::unserialize(cp, section, eventq);
145
146 UNSERIALIZE_SCALAR(cause);
147 UNSERIALIZE_SCALAR(code);
148 UNSERIALIZE_SCALAR(repeat);
149}
150
151Serializable *
152LocalSimLoopExitEvent::createForUnserialize(Checkpoint *cp,
153 const string &section)
154{
155 return new LocalSimLoopExitEvent();
156}
157
158REGISTER_SERIALIZEABLE("LocalSimLoopExitEvent", LocalSimLoopExitEvent)
159
160//

--- 27 unchanged lines hidden ---