Deleted Added
sdiff udiff text old ( 10407:a9023811bf9e ) new ( 10905:a6ca6831e775 )
full compact
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

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

125MinorCPU::regStats()
126{
127 BaseCPU::regStats();
128 stats.regStats(name(), *this);
129 pipeline->regStats();
130}
131
132void
133MinorCPU::serializeThread(std::ostream &os, ThreadID thread_id)
134{
135 threads[thread_id]->serialize(os);
136}
137
138void
139MinorCPU::unserializeThread(Checkpoint *cp, const std::string &section,
140 ThreadID thread_id)
141{
142 if (thread_id != 0)
143 fatal("Trying to load more than one thread into a MinorCPU\n");
144
145 threads[thread_id]->unserialize(cp, section);
146}
147
148void
149MinorCPU::serialize(std::ostream &os)
150{
151 pipeline->serialize(os);
152 BaseCPU::serialize(os);
153}
154
155void
156MinorCPU::unserialize(Checkpoint *cp, const std::string &section)
157{
158 pipeline->unserialize(cp, section);
159 BaseCPU::unserialize(cp, section);
160}
161
162Addr
163MinorCPU::dbg_vtophys(Addr addr)
164{
165 /* Note that this gives you the translation for thread 0 */
166 panic("No implementation for vtophy\n");
167

--- 185 unchanged lines hidden ---