types.hh (10611:3bba9f2d0c7d) types.hh (10905:a6ca6831e775)
1/*
2 * Copyright (c) 2010, 2012-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

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

478
479 bool
480 operator != (const PCState &opc) const
481 {
482 return !(*this == opc);
483 }
484
485 void
1/*
2 * Copyright (c) 2010, 2012-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

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

478
479 bool
480 operator != (const PCState &opc) const
481 {
482 return !(*this == opc);
483 }
484
485 void
486 serialize(std::ostream &os)
486 serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE
487 {
487 {
488 Base::serialize(os);
488 Base::serialize(cp);
489 SERIALIZE_SCALAR(flags);
490 SERIALIZE_SCALAR(_size);
491 SERIALIZE_SCALAR(nextFlags);
492 SERIALIZE_SCALAR(_itstate);
493 SERIALIZE_SCALAR(_nextItstate);
494 }
495
496 void
489 SERIALIZE_SCALAR(flags);
490 SERIALIZE_SCALAR(_size);
491 SERIALIZE_SCALAR(nextFlags);
492 SERIALIZE_SCALAR(_itstate);
493 SERIALIZE_SCALAR(_nextItstate);
494 }
495
496 void
497 unserialize(Checkpoint *cp, const std::string &section)
497 unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE
498 {
498 {
499 Base::unserialize(cp, section);
499 Base::unserialize(cp);
500 UNSERIALIZE_SCALAR(flags);
501 UNSERIALIZE_SCALAR(_size);
502 UNSERIALIZE_SCALAR(nextFlags);
503 UNSERIALIZE_SCALAR(_itstate);
504 UNSERIALIZE_SCALAR(_nextItstate);
505 }
506 };
507

--- 250 unchanged lines hidden ---
500 UNSERIALIZE_SCALAR(flags);
501 UNSERIALIZE_SCALAR(_size);
502 UNSERIALIZE_SCALAR(nextFlags);
503 UNSERIALIZE_SCALAR(_itstate);
504 UNSERIALIZE_SCALAR(_nextItstate);
505 }
506 };
507

--- 250 unchanged lines hidden ---