isa.cc (10698:829adc48e175) isa.cc (10905:a6ca6831e775)
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(std::ostream &os)
56ISA::serialize(CheckpointOut &cp) const
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(Checkpoint *cp, const std::string &section)
66ISA::unserialize(CheckpointIn &cp)
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 ---