Deleted Added
sdiff udiff text old ( 9180:ee8d7a51651d ) new ( 9426:0548b3e9734d )
full compact
1/*
2 * Copyright (c) 2011 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

259
260 // This function exits the thread context in the CPU and returns
261 // 1 if the CPU has no more active threads (meaning it's OK to exit);
262 // Used in syscall-emulation mode when a thread calls the exit syscall.
263 virtual int exit() { return 1; };
264
265 /** function to compare two thread contexts (for debugging) */
266 static void compare(ThreadContext *one, ThreadContext *two);
267};
268
269/**
270 * ProxyThreadContext class that provides a way to implement a
271 * ThreadContext without having to derive from it. ThreadContext is an
272 * abstract class, so anything that derives from it and uses its
273 * interface will pay the overhead of virtual function calls. This
274 * class is created to enable a user-defined Thread object to be used

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

424
425 // @todo: Fix this!
426 bool misspeculating() { return actualTC->misspeculating(); }
427
428 void syscall(int64_t callnum)
429 { actualTC->syscall(callnum); }
430
431 Counter readFuncExeInst() { return actualTC->readFuncExeInst(); }
432};
433
434#endif