Sp804::Timer::serialize(std::ostream &os)
{
DPRINTF(Checkpoint, "Serializing Arm Sp804\n");
- SERIALIZE_SCALAR(intNum);
- SERIALIZE_SCALAR(clock);
uint32_t control_serial = control;
SERIALIZE_SCALAR(control_serial);
{
DPRINTF(Checkpoint, "Unserializing Arm Sp804\n");
- UNSERIALIZE_SCALAR(intNum);
- UNSERIALIZE_SCALAR(clock);
-
uint32_t control_serial;
UNSERIALIZE_SCALAR(control_serial);
control = control_serial;
Sp804 *parent;
/** Number of interrupt to cause/clear */
- uint32_t intNum;
+ const uint32_t intNum;
/** Number of ticks in a clock input */
- Tick clock;
+ const Tick clock;
/** Control register as specified above */
CTRL control;