process.cc (11920:fd3d65d70951) | process.cc (12283:9c8f694f4e97) |
---|---|
1/* 2 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 3 * Copyright (c) 2012 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 353 unchanged lines hidden (view full) --- 362 return true; 363 } 364 return false; 365} 366 367void 368Process::serialize(CheckpointOut &cp) const 369{ | 1/* 2 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 3 * Copyright (c) 2012 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 353 unchanged lines hidden (view full) --- 362 return true; 363 } 364 return false; 365} 366 367void 368Process::serialize(CheckpointOut &cp) const 369{ |
370 memState->serialize(cp); |
|
370 pTable->serialize(cp); 371 /** 372 * Checkpoints for file descriptors currently do not work. Need to 373 * come back and fix them at a later date. 374 */ 375 376 warn("Checkpoints for file descriptors currently do not work."); 377#if 0 378 for (int x = 0; x < fds->getSize(); x++) 379 (*fds)[x].serializeSection(cp, csprintf("FDEntry%d", x)); 380#endif 381 382} 383 384void 385Process::unserialize(CheckpointIn &cp) 386{ | 371 pTable->serialize(cp); 372 /** 373 * Checkpoints for file descriptors currently do not work. Need to 374 * come back and fix them at a later date. 375 */ 376 377 warn("Checkpoints for file descriptors currently do not work."); 378#if 0 379 for (int x = 0; x < fds->getSize(); x++) 380 (*fds)[x].serializeSection(cp, csprintf("FDEntry%d", x)); 381#endif 382 383} 384 385void 386Process::unserialize(CheckpointIn &cp) 387{ |
388 memState->unserialize(cp); |
|
387 pTable->unserialize(cp); 388 /** 389 * Checkpoints for file descriptors currently do not work. Need to 390 * come back and fix them at a later date. 391 */ 392 warn("Checkpoints for file descriptors currently do not work."); 393#if 0 394 for (int x = 0; x < fds->getSize(); x++) --- 263 unchanged lines hidden --- | 389 pTable->unserialize(cp); 390 /** 391 * Checkpoints for file descriptors currently do not work. Need to 392 * come back and fix them at a later date. 393 */ 394 warn("Checkpoints for file descriptors currently do not work."); 395#if 0 396 for (int x = 0; x < fds->getSize(); x++) --- 263 unchanged lines hidden --- |