iew.hh (2820:7fde0b0f8f78) iew.hh (2843:19c4c6c2b5b1)
1/*
2 * Copyright (c) 2004-2006 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;

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

138 void setIEWQueue(TimeBuffer<IEWStruct> *iq_ptr);
139
140 /** Sets pointer to list of active threads. */
141 void setActiveThreads(std::list<unsigned> *at_ptr);
142
143 /** Sets pointer to the scoreboard. */
144 void setScoreboard(Scoreboard *sb_ptr);
145
1/*
2 * Copyright (c) 2004-2006 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;

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

138 void setIEWQueue(TimeBuffer<IEWStruct> *iq_ptr);
139
140 /** Sets pointer to list of active threads. */
141 void setActiveThreads(std::list<unsigned> *at_ptr);
142
143 /** Sets pointer to the scoreboard. */
144 void setScoreboard(Scoreboard *sb_ptr);
145
146 /** Starts switch out of IEW stage. */
147 void switchOut();
146 /** Drains IEW stage. */
147 void drain();
148
148
149 /** Resumes execution after a drain. */
150 void resume();
151
149 /** Completes switch out of IEW stage. */
152 /** Completes switch out of IEW stage. */
150 void doSwitchOut();
153 void switchOut();
151
152 /** Takes over from another CPU's thread. */
153 void takeOverFrom();
154
155 /** Returns if IEW is switched out. */
156 bool isSwitchedOut() { return switchedOut; }
157
158 /** Squashes instructions in IEW for a specific thread. */

--- 377 unchanged lines hidden ---
154
155 /** Takes over from another CPU's thread. */
156 void takeOverFrom();
157
158 /** Returns if IEW is switched out. */
159 bool isSwitchedOut() { return switchedOut; }
160
161 /** Squashes instructions in IEW for a specific thread. */

--- 377 unchanged lines hidden ---