Deleted Added
sdiff udiff text old ( 5088:2d5e28510f27 ) new ( 5222:bb733a878f85 )
full compact
1/*
2 * Copyright (c) 2001-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;

--- 354 unchanged lines hidden (view full) ---

363 return regs.setMiscReg(misc_reg, val, tc);
364 }
365
366 unsigned readStCondFailures() { return storeCondFailures; }
367
368 void setStCondFailures(unsigned sc_failures)
369 { storeCondFailures = sc_failures; }
370
371 void setShadowSet(int css, int tid=0) {
372 regs.setShadowSet(css);
373 }
374
375#if !FULL_SYSTEM
376 TheISA::IntReg getSyscallArg(int i)
377 {
378 assert(i < TheISA::NumArgumentRegs);
379 return regs.readIntReg(TheISA::flattenIntIndex(getTC(),
380 TheISA::ArgumentReg[i]));
381 }
382

--- 35 unchanged lines hidden ---