simple_thread.hh (11168:f98eb2da15a4) simple_thread.hh (11877:5ea85692a53e)
1/*
2 * Copyright (c) 2011-2012 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

419 return isa->flattenMiscIndex(reg);
420 }
421
422 unsigned readStCondFailures() { return storeCondFailures; }
423
424 void setStCondFailures(unsigned sc_failures)
425 { storeCondFailures = sc_failures; }
426
1/*
2 * Copyright (c) 2011-2012 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

419 return isa->flattenMiscIndex(reg);
420 }
421
422 unsigned readStCondFailures() { return storeCondFailures; }
423
424 void setStCondFailures(unsigned sc_failures)
425 { storeCondFailures = sc_failures; }
426
427 void syscall(int64_t callnum)
427 void syscall(int64_t callnum, Fault *fault)
428 {
428 {
429 process->syscall(callnum, tc);
429 process->syscall(callnum, tc, fault);
430 }
431
432 uint64_t readIntRegFlat(int idx) { return intRegs[idx]; }
433 void setIntRegFlat(int idx, uint64_t val) { intRegs[idx] = val; }
434
435 FloatReg readFloatRegFlat(int idx) { return floatRegs.f[idx]; }
436 void setFloatRegFlat(int idx, FloatReg val) { floatRegs.f[idx] = val; }
437

--- 19 unchanged lines hidden ---
430 }
431
432 uint64_t readIntRegFlat(int idx) { return intRegs[idx]; }
433 void setIntRegFlat(int idx, uint64_t val) { intRegs[idx] = val; }
434
435 FloatReg readFloatRegFlat(int idx) { return floatRegs.f[idx]; }
436 void setFloatRegFlat(int idx, FloatReg val) { floatRegs.f[idx] = val; }
437

--- 19 unchanged lines hidden ---