tsunami_cchip.cc (10565:23593fdaadcd) | tsunami_cchip.cc (10905:a6ca6831e775) |
---|---|
1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 493 unchanged lines hidden (view full) --- 502 } 503 } 504 else 505 DPRINTF(Tsunami, "Spurrious clear? interrupt %d\n", interrupt); 506} 507 508 509void | 1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 493 unchanged lines hidden (view full) --- 502 } 503 } 504 else 505 DPRINTF(Tsunami, "Spurrious clear? interrupt %d\n", interrupt); 506} 507 508 509void |
510TsunamiCChip::serialize(std::ostream &os) | 510TsunamiCChip::serialize(CheckpointOut &cp) const |
511{ 512 SERIALIZE_ARRAY(dim, Tsunami::Max_CPUs); 513 SERIALIZE_ARRAY(dir, Tsunami::Max_CPUs); 514 SERIALIZE_SCALAR(ipint); 515 SERIALIZE_SCALAR(itint); 516 SERIALIZE_SCALAR(drir); 517} 518 519void | 511{ 512 SERIALIZE_ARRAY(dim, Tsunami::Max_CPUs); 513 SERIALIZE_ARRAY(dir, Tsunami::Max_CPUs); 514 SERIALIZE_SCALAR(ipint); 515 SERIALIZE_SCALAR(itint); 516 SERIALIZE_SCALAR(drir); 517} 518 519void |
520TsunamiCChip::unserialize(Checkpoint *cp, const std::string §ion) | 520TsunamiCChip::unserialize(CheckpointIn &cp) |
521{ 522 UNSERIALIZE_ARRAY(dim, Tsunami::Max_CPUs); 523 UNSERIALIZE_ARRAY(dir, Tsunami::Max_CPUs); 524 UNSERIALIZE_SCALAR(ipint); 525 UNSERIALIZE_SCALAR(itint); 526 UNSERIALIZE_SCALAR(drir); 527} 528 529TsunamiCChip * 530TsunamiCChipParams::create() 531{ 532 return new TsunamiCChip(this); 533} | 521{ 522 UNSERIALIZE_ARRAY(dim, Tsunami::Max_CPUs); 523 UNSERIALIZE_ARRAY(dir, Tsunami::Max_CPUs); 524 UNSERIALIZE_SCALAR(ipint); 525 UNSERIALIZE_SCALAR(itint); 526 UNSERIALIZE_SCALAR(drir); 527} 528 529TsunamiCChip * 530TsunamiCChipParams::create() 531{ 532 return new TsunamiCChip(this); 533} |