base.hh (10407:a9023811bf9e) | base.hh (10408:a59c189de383) |
---|---|
1/* 2 * Copyright (c) 2011-2013 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 --- 243 unchanged lines hidden (view full) --- 252 Trace::InstTracer * getTracer() { return tracer; } 253 254 /// Notify the CPU that the indicated context is now active. 255 virtual void activateContext(ThreadID thread_num) {} 256 257 /// Notify the CPU that the indicated context is now suspended. 258 virtual void suspendContext(ThreadID thread_num) {} 259 | 1/* 2 * Copyright (c) 2011-2013 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 --- 243 unchanged lines hidden (view full) --- 252 Trace::InstTracer * getTracer() { return tracer; } 253 254 /// Notify the CPU that the indicated context is now active. 255 virtual void activateContext(ThreadID thread_num) {} 256 257 /// Notify the CPU that the indicated context is now suspended. 258 virtual void suspendContext(ThreadID thread_num) {} 259 |
260 /// Notify the CPU that the indicated context is now deallocated. 261 virtual void deallocateContext(ThreadID thread_num) {} 262 | |
263 /// Notify the CPU that the indicated context is now halted. 264 virtual void haltContext(ThreadID thread_num) {} 265 266 /// Given a Thread Context pointer return the thread num 267 int findContext(ThreadContext *tc); 268 269 /// Given a thread num get tho thread context for it 270 virtual ThreadContext *getContext(int tn) { return threadContexts[tn]; } --- 225 unchanged lines hidden --- | 260 /// Notify the CPU that the indicated context is now halted. 261 virtual void haltContext(ThreadID thread_num) {} 262 263 /// Given a Thread Context pointer return the thread num 264 int findContext(ThreadContext *tc); 265 266 /// Given a thread num get tho thread context for it 267 virtual ThreadContext *getContext(int tn) { return threadContexts[tn]; } --- 225 unchanged lines hidden --- |