1/* 2 * Copyright (c) 2012-2014 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 --- 114 unchanged lines hidden (view full) --- 123 MinorCPU(MinorCPUParams *params); 124 125 ~MinorCPU(); 126 127 public: 128 /** Starting, waking and initialisation */ 129 void init(); 130 void startup(); |
131 void wakeup(ThreadID tid) override; |
132 133 Addr dbg_vtophys(Addr addr); 134 135 /** Processor-specific statistics */ 136 Minor::MinorStats stats; 137 138 /** Stats interface from SimObject (by way of BaseCPU) */ 139 void regStats(); 140 141 /** Simple inst count interface from BaseCPU */ 142 Counter totalInsts() const; 143 Counter totalOps() const; 144 |
145 void serializeThread(CheckpointOut &cp, ThreadID tid) const override; 146 void unserializeThread(CheckpointIn &cp, ThreadID tid) override; |
147 148 /** Serialize pipeline data */ 149 void serialize(CheckpointOut &cp) const; 150 void unserialize(CheckpointIn &cp); 151 152 /** Drain interface */ |
153 DrainState drain() override; 154 void drainResume() override; |
155 /** Signal from Pipeline that MinorCPU should signal that a drain 156 * is complete and set its drainState */ 157 void signalDrainDone(); 158 void memWriteback(); 159 160 /** Switching interface from BaseCPU */ 161 void switchOut(); 162 void takeOverFrom(BaseCPU *old_cpu); --- 13 unchanged lines hidden --- |