regfile.hh (2980:eab855f06b79) | regfile.hh (3454:26850ac19a39) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 237 unchanged lines hidden (view full) --- 246 247 Fault setMiscRegWithEffect(int misc_reg, const MiscReg &val, 248 unsigned thread_id) 249 { 250 return miscRegs[thread_id].setRegWithEffect(misc_reg, val, 251 cpu->tcBase(thread_id)); 252 } 253 | 1/* 2 * Copyright (c) 2004-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; --- 237 unchanged lines hidden (view full) --- 246 247 Fault setMiscRegWithEffect(int misc_reg, const MiscReg &val, 248 unsigned thread_id) 249 { 250 return miscRegs[thread_id].setRegWithEffect(misc_reg, val, 251 cpu->tcBase(thread_id)); 252 } 253 |
254#if FULL_SYSTEM 255 int readIntrFlag() { return intrflag; } 256 /** Sets an interrupt flag. */ 257 void setIntrFlag(int val) { intrflag = val; } 258#endif 259 | |
260 public: 261 /** (signed) integer register file. */ 262 IntReg *intRegFile; 263 264 /** Floating point register file. */ 265 PhysFloatReg *floatRegFile; 266 267 /** Miscellaneous register file. */ --- 39 unchanged lines hidden --- | 254 public: 255 /** (signed) integer register file. */ 256 IntReg *intRegFile; 257 258 /** Floating point register file. */ 259 PhysFloatReg *floatRegFile; 260 261 /** Miscellaneous register file. */ --- 39 unchanged lines hidden --- |