malta_cchip.cc (10565:23593fdaadcd) | malta_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; --- 487 unchanged lines hidden (view full) --- 496 malta->intrctrl->clear(i, interrupt, 0); 497 DPRINTF(Malta, "clearing interrupt to cpu %d," 498 "interrupt %d\n",i, interrupt); 499 } 500} 501 502 503void | 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; --- 487 unchanged lines hidden (view full) --- 496 malta->intrctrl->clear(i, interrupt, 0); 497 DPRINTF(Malta, "clearing interrupt to cpu %d," 498 "interrupt %d\n",i, interrupt); 499 } 500} 501 502 503void |
504MaltaCChip::serialize(std::ostream &os) | 504MaltaCChip::serialize(CheckpointOut &cp) const |
505{ 506 // SERIALIZE_ARRAY(dim, Malta::Max_CPUs); 507 //SERIALIZE_ARRAY(dir, Malta::Max_CPUs); 508 //SERIALIZE_SCALAR(ipint); 509 //SERIALIZE_SCALAR(itint); 510 //SERIALIZE_SCALAR(drir); 511} 512 513void | 505{ 506 // SERIALIZE_ARRAY(dim, Malta::Max_CPUs); 507 //SERIALIZE_ARRAY(dir, Malta::Max_CPUs); 508 //SERIALIZE_SCALAR(ipint); 509 //SERIALIZE_SCALAR(itint); 510 //SERIALIZE_SCALAR(drir); 511} 512 513void |
514MaltaCChip::unserialize(Checkpoint *cp, const std::string §ion) | 514MaltaCChip::unserialize(CheckpointIn &cp) |
515{ 516 //UNSERIALIZE_ARRAY(dim, Malta::Max_CPUs); 517 //UNSERIALIZE_ARRAY(dir, Malta::Max_CPUs); 518 //UNSERIALIZE_SCALAR(ipint); 519 //UNSERIALIZE_SCALAR(itint); 520 //UNSERIALIZE_SCALAR(drir); 521} 522 523MaltaCChip * 524MaltaCChipParams::create() 525{ 526 return new MaltaCChip(this); 527} 528 | 515{ 516 //UNSERIALIZE_ARRAY(dim, Malta::Max_CPUs); 517 //UNSERIALIZE_ARRAY(dir, Malta::Max_CPUs); 518 //UNSERIALIZE_SCALAR(ipint); 519 //UNSERIALIZE_SCALAR(itint); 520 //UNSERIALIZE_SCALAR(drir); 521} 522 523MaltaCChip * 524MaltaCChipParams::create() 525{ 526 return new MaltaCChip(this); 527} 528 |