isa.cc (6330:786136379872) isa.cc (6678:34191eea18c1)
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;

--- 22 unchanged lines hidden (view full) ---

31#include "arch/alpha/isa.hh"
32#include "base/misc.hh"
33#include "cpu/thread_context.hh"
34
35namespace AlphaISA
36{
37
38void
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;

--- 22 unchanged lines hidden (view full) ---

31#include "arch/alpha/isa.hh"
32#include "base/misc.hh"
33#include "cpu/thread_context.hh"
34
35namespace AlphaISA
36{
37
38void
39ISA::serialize(std::ostream &os)
39ISA::serialize(EventManager *em, std::ostream &os)
40{
41 SERIALIZE_SCALAR(fpcr);
42 SERIALIZE_SCALAR(uniq);
43 SERIALIZE_SCALAR(lock_flag);
44 SERIALIZE_SCALAR(lock_addr);
45 SERIALIZE_ARRAY(ipr, NumInternalProcRegs);
46}
47
48void
40{
41 SERIALIZE_SCALAR(fpcr);
42 SERIALIZE_SCALAR(uniq);
43 SERIALIZE_SCALAR(lock_flag);
44 SERIALIZE_SCALAR(lock_addr);
45 SERIALIZE_ARRAY(ipr, NumInternalProcRegs);
46}
47
48void
49ISA::unserialize(Checkpoint *cp, const std::string §ion)
49ISA::unserialize(EventManager *em, Checkpoint *cp, const std::string &section)
50{
51 UNSERIALIZE_SCALAR(fpcr);
52 UNSERIALIZE_SCALAR(uniq);
53 UNSERIALIZE_SCALAR(lock_flag);
54 UNSERIALIZE_SCALAR(lock_addr);
55 UNSERIALIZE_ARRAY(ipr, NumInternalProcRegs);
56}
57

--- 93 unchanged lines hidden ---
50{
51 UNSERIALIZE_SCALAR(fpcr);
52 UNSERIALIZE_SCALAR(uniq);
53 UNSERIALIZE_SCALAR(lock_flag);
54 UNSERIALIZE_SCALAR(lock_addr);
55 UNSERIALIZE_ARRAY(ipr, NumInternalProcRegs);
56}
57

--- 93 unchanged lines hidden ---