timing.hh (2856:89691405ec9c) timing.hh (2867:cc92d58a3210)
1/*
2 * Copyright (c) 2002-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;

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

61
62 protected:
63 Status _status;
64
65 Status status() const { return _status; }
66
67 Event *drainEvent;
68
1/*
2 * Copyright (c) 2002-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;

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

61
62 protected:
63 Status _status;
64
65 Status status() const { return _status; }
66
67 Event *drainEvent;
68
69 Event *fetchEvent;
70
69 private:
70
71 class CpuPort : public Port
72 {
73 protected:
74 TimingSimpleCPU *cpu;
75
76 public:

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

125 IcachePort icachePort;
126 DcachePort dcachePort;
127
128 Packet *ifetch_pkt;
129 Packet *dcache_pkt;
130
131 public:
132
71 private:
72
73 class CpuPort : public Port
74 {
75 protected:
76 TimingSimpleCPU *cpu;
77
78 public:

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

127 IcachePort icachePort;
128 DcachePort dcachePort;
129
130 Packet *ifetch_pkt;
131 Packet *dcache_pkt;
132
133 public:
134
133 virtual Port *getPort(const std::string &if_name, int idx = -1);
134
135 virtual void serialize(std::ostream &os);
136 virtual void unserialize(Checkpoint *cp, const std::string &section);
137
138 virtual bool drain(Event *drain_event);
139 virtual void resume();
140 virtual void setMemoryMode(State new_mode);
141
142 void switchOut();

--- 20 unchanged lines hidden ---
135 virtual void serialize(std::ostream &os);
136 virtual void unserialize(Checkpoint *cp, const std::string &section);
137
138 virtual bool drain(Event *drain_event);
139 virtual void resume();
140 virtual void setMemoryMode(State new_mode);
141
142 void switchOut();

--- 20 unchanged lines hidden ---