thread_context.hh (10664:61a0b02aa800) thread_context.hh (10698:829adc48e175)
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

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

223 virtual Addr nextInstAddr()
224 { return cpu->nextInstAddr(thread->threadId()); }
225
226 /** Reads this thread's next PC. */
227 virtual MicroPC microPC()
228 { return cpu->microPC(thread->threadId()); }
229
230 /** Reads a miscellaneous register. */
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

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

223 virtual Addr nextInstAddr()
224 { return cpu->nextInstAddr(thread->threadId()); }
225
226 /** Reads this thread's next PC. */
227 virtual MicroPC microPC()
228 { return cpu->microPC(thread->threadId()); }
229
230 /** Reads a miscellaneous register. */
231 virtual MiscReg readMiscRegNoEffect(int misc_reg)
231 virtual MiscReg readMiscRegNoEffect(int misc_reg) const
232 { return cpu->readMiscRegNoEffect(misc_reg, thread->threadId()); }
233
234 /** Reads a misc. register, including any side-effects the
235 * read might have as defined by the architecture. */
236 virtual MiscReg readMiscReg(int misc_reg)
237 { return cpu->readMiscReg(misc_reg, thread->threadId()); }
238
239 /** Sets a misc. register. */

--- 57 unchanged lines hidden ---
232 { return cpu->readMiscRegNoEffect(misc_reg, thread->threadId()); }
233
234 /** Reads a misc. register, including any side-effects the
235 * read might have as defined by the architecture. */
236 virtual MiscReg readMiscReg(int misc_reg)
237 { return cpu->readMiscReg(misc_reg, thread->threadId()); }
238
239 /** Sets a misc. register. */

--- 57 unchanged lines hidden ---