isa.cc (9384:877293183bdf) | isa.cc (9425:a24092160ec7) |
---|---|
1/* 2 * Copyright (c) 2009 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; --- 39 unchanged lines hidden (view full) --- 48 49const AlphaISAParams * 50ISA::params() const 51{ 52 return dynamic_cast<const Params *>(_params); 53} 54 55void | 1/* 2 * Copyright (c) 2009 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; --- 39 unchanged lines hidden (view full) --- 48 49const AlphaISAParams * 50ISA::params() const 51{ 52 return dynamic_cast<const Params *>(_params); 53} 54 55void |
56ISA::serialize(EventManager *em, std::ostream &os) | 56ISA::serialize(std::ostream &os) |
57{ 58 SERIALIZE_SCALAR(fpcr); 59 SERIALIZE_SCALAR(uniq); 60 SERIALIZE_SCALAR(lock_flag); 61 SERIALIZE_SCALAR(lock_addr); 62 SERIALIZE_ARRAY(ipr, NumInternalProcRegs); 63} 64 65void | 57{ 58 SERIALIZE_SCALAR(fpcr); 59 SERIALIZE_SCALAR(uniq); 60 SERIALIZE_SCALAR(lock_flag); 61 SERIALIZE_SCALAR(lock_addr); 62 SERIALIZE_ARRAY(ipr, NumInternalProcRegs); 63} 64 65void |
66ISA::unserialize(EventManager *em, Checkpoint *cp, const std::string §ion) | 66ISA::unserialize(Checkpoint *cp, const std::string §ion) |
67{ 68 UNSERIALIZE_SCALAR(fpcr); 69 UNSERIALIZE_SCALAR(uniq); 70 UNSERIALIZE_SCALAR(lock_flag); 71 UNSERIALIZE_SCALAR(lock_addr); 72 UNSERIALIZE_ARRAY(ipr, NumInternalProcRegs); 73} 74 --- 99 unchanged lines hidden --- | 67{ 68 UNSERIALIZE_SCALAR(fpcr); 69 UNSERIALIZE_SCALAR(uniq); 70 UNSERIALIZE_SCALAR(lock_flag); 71 UNSERIALIZE_SCALAR(lock_addr); 72 UNSERIALIZE_ARRAY(ipr, NumInternalProcRegs); 73} 74 --- 99 unchanged lines hidden --- |