1/* 2 * Copyright (c) 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; --- 284 unchanged lines hidden (view full) --- 293 uint64_t readPC() { return thread->readPC(); } 294 295 uint64_t readNextPC() { return thread->readNextPC(); } 296 297 void setNextPC(uint64_t val) { 298 thread->setNextPC(val); 299 } 300 |
301 MiscReg readMiscRegNoEffect(int misc_reg) |
302 { |
303 return thread->readMiscRegNoEffect(misc_reg); |
304 } 305 |
306 MiscReg readMiscReg(int misc_reg) |
307 { |
308 return thread->readMiscReg(misc_reg); |
309 } 310 |
311 void setMiscRegNoEffect(int misc_reg, const MiscReg &val) |
312 { 313 result.integer = val; 314 miscRegIdxs.push(misc_reg); |
315 return thread->setMiscRegNoEffect(misc_reg, val); |
316 } 317 |
318 void setMiscReg(int misc_reg, const MiscReg &val) |
319 { 320 miscRegIdxs.push(misc_reg); |
321 return thread->setMiscReg(misc_reg, val); |
322 } 323 324 void recordPCChange(uint64_t val) { changedPC = true; newPC = val; } 325 void recordNextPCChange(uint64_t val) { changedNextPC = true; } 326 327 bool translateInstReq(Request *req); 328 void translateDataWriteReq(Request *req); 329 void translateDataReadReq(Request *req); --- 86 unchanged lines hidden --- |