1/* 2 * Copyright (c) 2002-2005 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; --- 283 unchanged lines hidden (view full) --- 292 return thread->readMiscRegNoEffect(misc_reg); 293 } 294 295 MiscReg readMiscReg(int misc_reg) 296 { 297 return thread->readMiscReg(misc_reg); 298 } 299 |
300 void setMiscReg(int misc_reg, const MiscReg &val) 301 { 302 return thread->setMiscReg(misc_reg, val); 303 } 304 |
305 MiscReg readMiscRegOperand(const StaticInst *si, int idx) 306 { 307 int reg_idx = si->srcRegIdx(idx) - TheISA::Ctrl_Base_DepTag; 308 return thread->readMiscReg(reg_idx); 309 } 310 |
311 void setMiscRegOperand( 312 const StaticInst *si, int idx, const MiscReg &val) 313 { 314 int reg_idx = si->destRegIdx(idx) - TheISA::Ctrl_Base_DepTag; 315 return thread->setMiscReg(reg_idx, val); 316 } 317 318 void demapPage(Addr vaddr, uint64_t asn) --- 49 unchanged lines hidden --- |