thread_context.hh (8931:7a1dfb191e3f) | thread_context.hh (9020:14321ce30881) |
---|---|
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 --- 41 unchanged lines hidden (view full) --- 50#include "cpu/thread_context.hh" 51#include "debug/Checker.hh" 52 53class EndQuiesceEvent; 54namespace TheISA { 55 namespace Kernel { 56 class Statistics; 57 }; | 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 --- 41 unchanged lines hidden (view full) --- 50#include "cpu/thread_context.hh" 51#include "debug/Checker.hh" 52 53class EndQuiesceEvent; 54namespace TheISA { 55 namespace Kernel { 56 class Statistics; 57 }; |
58 class Decoder; |
|
58}; 59 60/** 61 * Derived ThreadContext class for use with the Checker. The template 62 * parameter is the ThreadContext class used by the specific CPU being 63 * verified. This CheckerThreadContext is then used by the main CPU 64 * in place of its usual ThreadContext class. It handles updating the 65 * checker's state any time state is updated externally through the --- 46 unchanged lines hidden (view full) --- 112 113 TheISA::TLB *getDTBPtr() { return actualTC->getDTBPtr(); } 114 115 CheckerCPU *getCheckerCpuPtr() 116 { 117 return checkerCPU; 118 } 119 | 59}; 60 61/** 62 * Derived ThreadContext class for use with the Checker. The template 63 * parameter is the ThreadContext class used by the specific CPU being 64 * verified. This CheckerThreadContext is then used by the main CPU 65 * in place of its usual ThreadContext class. It handles updating the 66 * checker's state any time state is updated externally through the --- 46 unchanged lines hidden (view full) --- 113 114 TheISA::TLB *getDTBPtr() { return actualTC->getDTBPtr(); } 115 116 CheckerCPU *getCheckerCpuPtr() 117 { 118 return checkerCPU; 119 } 120 |
120 Decoder *getDecoderPtr() { return actualTC->getDecoderPtr(); } | 121 TheISA::Decoder *getDecoderPtr() { return actualTC->getDecoderPtr(); } |
121 122 System *getSystemPtr() { return actualTC->getSystemPtr(); } 123 124 TheISA::Kernel::Statistics *getKernelStats() 125 { return actualTC->getKernelStats(); } 126 127 Process *getProcessPtr() { return actualTC->getProcessPtr(); } 128 --- 177 unchanged lines hidden --- | 122 123 System *getSystemPtr() { return actualTC->getSystemPtr(); } 124 125 TheISA::Kernel::Statistics *getKernelStats() 126 { return actualTC->getKernelStats(); } 127 128 Process *getProcessPtr() { return actualTC->getProcessPtr(); } 129 --- 177 unchanged lines hidden --- |