Deleted Added
sdiff udiff text old ( 4661:44458219add1 ) new ( 4772:f08370a81812 )
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;

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

372 unsigned readStCondFailures() { return storeCondFailures; }
373
374 void setStCondFailures(unsigned sc_failures)
375 { storeCondFailures = sc_failures; }
376
377#if !FULL_SYSTEM
378 TheISA::IntReg getSyscallArg(int i)
379 {
380 return regs.readIntReg(TheISA::flattenIntIndex(getTC(),
381 TheISA::ArgumentReg0 + i));
382 }
383
384 // used to shift args for indirect syscall
385 void setSyscallArg(int i, TheISA::IntReg val)
386 {
387 regs.setIntReg(TheISA::flattenIntIndex(getTC(),
388 TheISA::ArgumentReg0 + i), val);
389 }
390
391 void setSyscallReturn(SyscallReturn return_value)
392 {
393 TheISA::setSyscallReturn(return_value, getTC());
394 }
395
396 void syscall(int64_t callnum)

--- 21 unchanged lines hidden ---