dist_iface.cc (11290:1640dd68b0a4) dist_iface.cc (11325:67cc559d513a)
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

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

512 }
513 assert(tmp_queue.empty());
514}
515
516void
517DistIface::RecvScheduler::unserialize(CheckpointIn &cp)
518{
519 assert(descQueue.size() == 0);
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

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

512 }
513 assert(tmp_queue.empty());
514}
515
516void
517DistIface::RecvScheduler::unserialize(CheckpointIn &cp)
518{
519 assert(descQueue.size() == 0);
520 assert(recvDone->scheduled() == false);
521 assert(ckptRestore == false);
520 assert(!recvDone->scheduled());
521 assert(!ckptRestore);
522
523 UNSERIALIZE_SCALAR(prevRecvTick);
524 // unserialize the receive desc queue
525 unsigned n_desc_queue;
526 UNSERIALIZE_SCALAR(n_desc_queue);
527 for (int i = 0; i < n_desc_queue; i++) {
528 Desc recv_desc;
529 recv_desc.unserializeSection(cp, csprintf("rxDesc_%d", i));

--- 279 unchanged lines hidden ---
522
523 UNSERIALIZE_SCALAR(prevRecvTick);
524 // unserialize the receive desc queue
525 unsigned n_desc_queue;
526 UNSERIALIZE_SCALAR(n_desc_queue);
527 for (int i = 0; i < n_desc_queue; i++) {
528 Desc recv_desc;
529 recv_desc.unserializeSection(cp, csprintf("rxDesc_%d", i));

--- 279 unchanged lines hidden ---