decode.hh (2670:9107b8bd08cd) decode.hh (2674:6d4afef73a20)
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;

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

104 void setDecodeQueue(TimeBuffer<DecodeStruct> *dq_ptr);
105
106 /** Sets pointer to time buffer coming from fetch. */
107 void setFetchQueue(TimeBuffer<FetchStruct> *fq_ptr);
108
109 /** Sets pointer to list of active threads. */
110 void setActiveThreads(std::list<unsigned> *at_ptr);
111
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;

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

104 void setDecodeQueue(TimeBuffer<DecodeStruct> *dq_ptr);
105
106 /** Sets pointer to time buffer coming from fetch. */
107 void setFetchQueue(TimeBuffer<FetchStruct> *fq_ptr);
108
109 /** Sets pointer to list of active threads. */
110 void setActiveThreads(std::list<unsigned> *at_ptr);
111
112 /** Switches out the decode stage. */
112 void switchOut();
113
113 void switchOut();
114
115 /** Takes over from another CPU's thread. */
114 void takeOverFrom();
116 void takeOverFrom();
117
115 /** Ticks decode, processing all input signals and decoding as many
116 * instructions as possible.
117 */
118 void tick();
119
120 /** Determines what to do based on decode's current status.
121 * @param status_change decode() sets this variable if there was a status
122 * change (ie switching from from blocking to unblocking).

--- 172 unchanged lines hidden ---
118 /** Ticks decode, processing all input signals and decoding as many
119 * instructions as possible.
120 */
121 void tick();
122
123 /** Determines what to do based on decode's current status.
124 * @param status_change decode() sets this variable if there was a status
125 * change (ie switching from from blocking to unblocking).

--- 172 unchanged lines hidden ---