base.hh (7064:586b0e3a12b3) | base.hh (7764:03efcdc3421f) |
---|---|
1/* 2 * Copyright (c) 2002-2005 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; --- 166 unchanged lines hidden (view full) --- 175 protected: 176 std::vector<ThreadContext *> threadContexts; 177 std::vector<TheISA::Predecoder *> predecoders; 178 179 Trace::InstTracer * tracer; 180 181 public: 182 | 1/* 2 * Copyright (c) 2002-2005 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; --- 166 unchanged lines hidden (view full) --- 175 protected: 176 std::vector<ThreadContext *> threadContexts; 177 std::vector<TheISA::Predecoder *> predecoders; 178 179 Trace::InstTracer * tracer; 180 181 public: 182 |
183 // Mask to align PCs to MachInst sized boundaries 184 static const Addr PCMask = ~((Addr)sizeof(TheISA::MachInst) - 1); 185 |
|
183 /// Provide access to the tracer pointer 184 Trace::InstTracer * getTracer() { return tracer; } 185 186 /// Notify the CPU that the indicated context is now active. The 187 /// delay parameter indicates the number of ticks to wait before 188 /// executing (typically 0 or 1). 189 virtual void activateContext(int thread_num, int delay) {} 190 --- 127 unchanged lines hidden --- | 186 /// Provide access to the tracer pointer 187 Trace::InstTracer * getTracer() { return tracer; } 188 189 /// Notify the CPU that the indicated context is now active. The 190 /// delay parameter indicates the number of ticks to wait before 191 /// executing (typically 0 or 1). 192 virtual void activateContext(int thread_num, int delay) {} 193 --- 127 unchanged lines hidden --- |