simple_thread.cc (13910:d5deee7b4279) simple_thread.cc (13954:2f400a5f2627)
1/*
2 * Copyright (c) 2018 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

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

72
73using namespace std;
74
75// constructor
76SimpleThread::SimpleThread(BaseCPU *_cpu, int _thread_num, System *_sys,
77 Process *_process, BaseTLB *_itb,
78 BaseTLB *_dtb, TheISA::ISA *_isa)
79 : ThreadState(_cpu, _thread_num, _process), isa(_isa),
1/*
2 * Copyright (c) 2018 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

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

72
73using namespace std;
74
75// constructor
76SimpleThread::SimpleThread(BaseCPU *_cpu, int _thread_num, System *_sys,
77 Process *_process, BaseTLB *_itb,
78 BaseTLB *_dtb, TheISA::ISA *_isa)
79 : ThreadState(_cpu, _thread_num, _process), isa(_isa),
80 predicate(false), system(_sys),
80 predicate(true), memAccPredicate(true), system(_sys),
81 itb(_itb), dtb(_dtb), decoder(TheISA::Decoder(_isa))
82{
83 clearArchRegs();
84 quiesceEvent = new EndQuiesceEvent(this);
85}
86
87SimpleThread::SimpleThread(BaseCPU *_cpu, int _thread_num, System *_sys,
88 BaseTLB *_itb, BaseTLB *_dtb,
89 TheISA::ISA *_isa, bool use_kernel_stats)
81 itb(_itb), dtb(_dtb), decoder(TheISA::Decoder(_isa))
82{
83 clearArchRegs();
84 quiesceEvent = new EndQuiesceEvent(this);
85}
86
87SimpleThread::SimpleThread(BaseCPU *_cpu, int _thread_num, System *_sys,
88 BaseTLB *_itb, BaseTLB *_dtb,
89 TheISA::ISA *_isa, bool use_kernel_stats)
90 : ThreadState(_cpu, _thread_num, NULL), isa(_isa), system(_sys), itb(_itb),
91 dtb(_dtb), decoder(TheISA::Decoder(_isa))
90 : ThreadState(_cpu, _thread_num, NULL), isa(_isa),
91 predicate(true), memAccPredicate(true), system(_sys),
92 itb(_itb), dtb(_dtb), decoder(TheISA::Decoder(_isa))
92{
93 quiesceEvent = new EndQuiesceEvent(this);
94
95 clearArchRegs();
96
97 if (baseCpu->params()->profile) {
98 profile = new FunctionProfile(system->kernelSymtab);
99 Callback *cb =

--- 115 unchanged lines hidden ---
93{
94 quiesceEvent = new EndQuiesceEvent(this);
95
96 clearArchRegs();
97
98 if (baseCpu->params()->profile) {
99 profile = new FunctionProfile(system->kernelSymtab);
100 Callback *cb =

--- 115 unchanged lines hidden ---