1/* 2 * Copyright (c) 2011, 2016 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 --- 48 unchanged lines hidden (view full) --- 57#include "cpu/pc_event.hh" 58#include "cpu/simple_thread.hh" 59#include "cpu/static_inst.hh" 60#include "debug/Checker.hh" 61#include "mem/request.hh" 62#include "params/CheckerCPU.hh" 63#include "sim/eventq.hh" 64 |
65class BaseTLB; |
66template <class> 67class BaseDynInst; 68class ThreadContext; 69class Request; 70 71/** 72 * CheckerCPU class. Dynamically verifies instructions as they are 73 * completed by making sure that the instruction and its results match --- 56 unchanged lines hidden (view full) --- 130 131 System *systemPtr; 132 133 MasterPort *icachePort; 134 MasterPort *dcachePort; 135 136 ThreadContext *tc; 137 |
138 BaseTLB *itb; 139 BaseTLB *dtb; |
140 141 Addr dbg_vtophys(Addr addr); 142 143 // ISAs like ARM can have multiple destination registers to check, 144 // keep them all in a std::queue 145 std::queue<InstResult> result; 146 147 // Pointer to the one memory request. --- 8 unchanged lines hidden (view full) --- 156 157 std::queue<int> miscRegIdxs; 158 159 public: 160 161 // Primary thread being run. 162 SimpleThread *thread; 163 |
164 BaseTLB* getITBPtr() { return itb; } 165 BaseTLB* getDTBPtr() { return dtb; } |
166 167 virtual Counter totalInsts() const override 168 { 169 return 0; 170 } 171 172 virtual Counter totalOps() const override 173 { --- 443 unchanged lines hidden --- |