1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 100 unchanged lines hidden (view full) --- 109 /** Takes over another CPU's thread. */ 110 void takeOverFrom(); 111 112 /** Function to insert an instruction into the ROB. Note that whatever 113 * calls this function must ensure that there is enough space within the 114 * ROB for the new instruction. 115 * @param inst The instruction being inserted into the ROB. 116 */ |
117 void insertInst(const DynInstPtr &inst); |
118 119 /** Returns pointer to the head instruction within the ROB. There is 120 * no guarantee as to the return value if the ROB is empty. 121 * @retval Pointer to the DynInst that is at the head of the ROB. 122 */ 123// DynInstPtr readHeadInst(); 124 125 /** Returns a pointer to the head instruction of a specific thread within 126 * the ROB. 127 * @return Pointer to the DynInst that is at the head of the ROB. 128 */ |
129 const DynInstPtr &readHeadInst(ThreadID tid); |
130 131 /** Returns a pointer to the instruction with the given sequence if it is 132 * in the ROB. 133 */ 134 DynInstPtr findInst(ThreadID tid, InstSeqNum squash_inst); 135 136 /** Returns pointer to the tail instruction within the ROB. There is 137 * no guarantee as to the return value if the ROB is empty. --- 204 unchanged lines hidden --- |