kernel_stats.hh (5999:3cf8e71257e0) kernel_stats.hh (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;

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

81 void mode(cpu_mode newmode, ThreadContext *tc);
82 void context(Addr oldpcbb, Addr newpcbb, ThreadContext *tc);
83 void callpal(int code, ThreadContext *tc);
84 void hwrei() { _hwrei++; }
85
86 void setIdleProcess(Addr idle, ThreadContext *tc);
87
88 public:
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;

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

81 void mode(cpu_mode newmode, ThreadContext *tc);
82 void context(Addr oldpcbb, Addr newpcbb, ThreadContext *tc);
83 void callpal(int code, ThreadContext *tc);
84 void hwrei() { _hwrei++; }
85
86 void setIdleProcess(Addr idle, ThreadContext *tc);
87
88 public:
89 void serialize(std::ostream &os);
90 void unserialize(Checkpoint *cp, const std::string &section);
89 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
90 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
91};
92
93} // namespace Kernel
94} // namespace AlphaISA
95
96#endif // __ARCH_ALPHA_KERNEL_STATS_HH__
91};
92
93} // namespace Kernel
94} // namespace AlphaISA
95
96#endif // __ARCH_ALPHA_KERNEL_STATS_HH__