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; --- 148 unchanged lines hidden (view full) --- 157 void setFetchQueue(TimeBuffer<FetchStruct> *fq_ptr); 158 159 /** Sets the pointer to the queue coming from rename. */ 160 void setRenameQueue(TimeBuffer<RenameStruct> *rq_ptr); 161 162 /** Sets the pointer to the queue coming from IEW. */ 163 void setIEWQueue(TimeBuffer<IEWStruct> *iq_ptr); 164 |
165 /** Sets the pointer to the IEW stage. */ 166 void setIEWStage(IEW *iew_stage); 167 168 /** The pointer to the IEW stage. Used solely to ensure that 169 * various events (traps, interrupts, syscalls) do not occur until 170 * all stores have written back. 171 */ 172 IEW *iewStage; --- 153 unchanged lines hidden (view full) --- 326 327 private: 328 /** Pointer to O3CPU. */ 329 O3CPU *cpu; 330 331 /** Vector of all of the threads. */ 332 std::vector<Thread *> thread; 333 |
334 /** Records that commit has written to the time buffer this cycle. Used for 335 * the CPU to determine if it can deschedule itself if there is no activity. 336 */ 337 bool wroteToTimeBuffer; 338 339 /** Records if the number of ROB entries has changed this cycle. If it has, 340 * then the number of free entries must be re-broadcast. 341 */ --- 42 unchanged lines hidden (view full) --- 384 /** Is commit switched out. */ 385 bool switchedOut; 386 387 /** The latency to handle a trap. Used when scheduling trap 388 * squash event. 389 */ 390 Tick trapLatency; 391 |
392 /** The commit PC of each thread. Refers to the instruction that 393 * is currently being processed/committed. 394 */ 395 Addr PC[Impl::MaxThreads]; 396 397 /** The next PC of each thread. */ 398 Addr nextPC[Impl::MaxThreads]; 399 --- 55 unchanged lines hidden --- |